programming logic
hey im trying to work out the best way of getting my program to workI have a table with records of dvds which can be populated from a txt file or/and can have entrys added while the program is running...
View ArticleJet Engine OLEDB problem; c# xxx.mdb file not found - when it is there
I realize this being a JET problem, this question may not be in the correct location, but I don't see where else to place it.Ok, we have a software product that works on all of our test computers, and...
View ArticleResource file: Is OK (good idea) to mix different versions of Resource files...
Our projects are VB.NET (I assume that question should be same for C#) and support localization.We notic that when we move from .NET framework 2.0 to 3.5. If we open a form in design mode and save, the...
View ArticleRegister DbContext using Unity
Hi,I am having problems with unity 3.0 and DbContext from Entity Framework 5.0, bellow are the interface and the implementation and after the contents of unity.config:Interface public interface...
View ArticleType or namespace not found?!
Hello,"The type or namespace "Product" cou'd not be found (are you missing ''''')"I am getting this error from my .aspx file. This is source code from a book "Beginning asp.net 4.5 in C#" chapter 3...
View ArticleCreate API's from C# project
Hi All,I want to create an API's for my project, you can find bellow the details please:I have created a Windows Form project in C# that contains a several number of methods, so now I want to change it...
View ArticleGetting various errors when opening XML files
I have the following different symptoms for one of the solutions I work in (other solutions are behaving normally):- When I open the solution, the same files are always open. It doesn't matter if I...
View ArticleHow do I select multiple files to upload in asp.net?
I have an ASP.NET application that has a browse button to select multiple files to upload. The browse button brings the file explorer, but it only lets me select a single file instead of multiple...
View ArticleAdd files to compressed folder with shell
Hello,In my application, i can browse compressed folders with shell ( with FolderItem, etc...)Like in explorer, I want to be able to paste some files into Zip. For that, I use the ifileoperation which...
View ArticleYou could be September's TechNet Guru! Turbo charge your CV with awards and...
TechNet Wiki is partnering with... YOU! Give us some juicy technical content and we might big you up!It really is that simple! Show us your forum solutions or drop us some nifty snippets and become...
View ArticleStruggling with GridView filtering and sorting
I'm using a dbml file and a LinqDataSource to populate a gridview with rows from a database view.I've turned on sorting on the grid and used sortexpressions to enable user sorting.All good so far :-)I...
View ArticleProblem with converting string into a custom type
Hey,I am messing around with streams at the moment and decided to save an enum type inside a file and read it again. The problem is that reading returns a string and since I stored an enum I'd like to...
View ArticleHow do I connect to IMS Database on mainframe?
Hi, Is there any way I can connect to the IMS db (mainframe) from SSRS or .Net? I am new to mainframes and I am trying to develop some reports in SSRS by accessing the data from a mainframe IMS db and...
View ArticleC# Read/Write Active Directory - AccountExpires Property
Hello,i read something about the theme in World wide web, but nothing works.Can you help me?How can i read and write this Property with C#?I Try it:var oUserDE = new DirectoryEntry("my path to the...
View ArticleFirst C# service. Stops logging after a few hours.
I'm trying to write my first windows service. It seems to be working, but after a couple hours it just stops logging to the event log. I've tried to catch an error, but can't figure out why it's not...
View ArticleLegal Question regarding Copyright policy
The reason I am asking this is because I am new to programming and would want to know what is right or wrong before it is too late and before I ask the developer for the permission.We have a software...
View ArticleSame object, different namespace, calling the same function
Hello forum,I cant seem to figure out a more efficient way to do this. I have three classes, same objects, but different namespaces, and I need to map first two classes to the third class which will...
View ArticlePassing parameter in a method.
Hi, I want to pass the parameter of URL, URL_ServiceName , URL_MethodName when calling the method send() from TAService Class.Currently passing postData only.PLease help me. Calling the Method :...
View ArticleCA1810 cause problem in Release Configuration
My Visual Studio is 2013 Preview.By follow the advice of CA1810 Initialize reference type static fields inline, I add a new field to do the initializing. All is fine.But after deploy the web...
View ArticleCalling result of method generated by WSDL using VS Command Prompt
string[] ahoj = new string[] { 28156609.ToString() }; Rozhranice.StatusType[] ahoj2; Rozhranice.InformaceOPlatciType[] ahoj3; Rozhranice.rozhraniCRPDPH srv = new...
View Article