|
I want to add in dictionary from class deriver .
|
|
|
|
|
Well, it would help if you told the system that some CLing was Serializable for a start. Decorate it with the [Serializable] attribute.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I often us the FileStream to read and write the file.
the class FileStream is in the namespace, System.IO;
|
|
|
|
|
Readin the stream, break it up into the bit you want. Asign it into the dic.
i.e.
textIn = new StreamReader(File);
string text = textIn.ReadLine();
var 1 = text.IndexOf("String")
var 2 = text.IndexOf("String")
var 3 = text.IndexOf("String")
Dictionary.Add(Key, new CLing(var1, var2, var3....))
Im unsure what you want. Hopefully this helps.
|
|
|
|
|
I want to add in dictionary from class deriver
|
|
|
|
|
Good Morning,
I develop a GMAO csharp smart device project.I finished it in the asynchron mode(consulting a local database .sdf).I wanna migrate my application to be a real time project(consulting the database .sdf created by the society where I work).When googling,I find that the solution is replication.
I wanna ask is there another solution then replication.I tried replication with a simple example but doesn't work for me.
I try by changing the connexion string from:
string wCS = @"Data Source =\Storage Card\ModeDifféré\BaseGmaoLocale.sdf;";
to:
string wCS = @"Data Source =\Storage Card\BaseGmaoDOTNET.sdf;";
what is the problem??
Regards
modified on Tuesday, May 4, 2010 6:10 AM
|
|
|
|
|
The replication master should run on SQLServer (not SQL server express).
|
|
|
|
|
hi,
sure i use SQL server standart edition 2005 and i follow the steps given in a webcast done by Pascal Belaud.
Is there another solution then replication??
Thanks
|
|
|
|
|
Im drawing text that can be rotated. But how can I scale the glutStrokeString as you can not select the size.
Gl.glRotatef(angle, 0, 1, 0);
Gl.glTranslatef(-600, 0, -400);
len = Dmsg.Count();
Glut.glutStrokeString(Glut.GLUT_STROKE_ROMAN, Dstg);
|
|
|
|
|
Does anyone have solution. about How to design crystal report at runtime.
In my application I want to design a crystal report at runtime or (Design at end user) in Windows forms.
Where the end user can design the report with specified fields and then display the report for that.
|
|
|
|
|
Hello,
First of all I would like to say that I wasn't really sure where this should go, so sorry if it's in the wrong forum.
Now to my problem: whenever I build my project in Visual Studio 2010, it tells me that my executable is in use by another program. (Which it is, since I can't delete it through Windows Explorer either) I then have to restart my computer in order to delete the file.
This is really annoying, and the reason I post here is because I have a theory that Visual Studio 2010 might be the program using the file. (NOTE: I have confirmed that it is Visual Studio 2010 that is using my executable file)
Thanks,
Theo
|
|
|
|
|
This is not a problem of VS2010, its more or problem of your applications exit routine.
In most cases this happens, if some thread is still alive, after you "stopped" your application.
To get access to your exe without restarting windows, do the following steps:
Task-Manager -> Process -> [Select your exe] -> Kill/Terminate Process
Greetings
Covean
|
|
|
|
|
My app exists just fine, and the Windows Explorer message says, when trying to delete the file, that the program using my executable is Visual Studio 2010.
Any ideas?
|
|
|
|
|
Its also possible that the debugging causes this problem, but I don't think so.
Does it happen every time you starts and exits your executable or only from time to time?
(or does it only happen if you start in debug (F5) mode?)
Greetings
Covean
|
|
|
|
|
When I start my app for the first time, it doesn't happen. After I've finished debugging, it happens all following times.
It happens in both the Debug and Release folder.
|
|
|
|
|
Are you really sure your application exits flawless? (please take a look in the task manager and make sure
that your exe is not running.)
If your application isn't running, then I really think your debugger causes this problem
and I don't know how to solve this (maybe reinstall VS2010).
Greetings
Covean
|
|
|
|
|
The application isn't displayed when it has exited.
I'll try reinstalling VS2010.
|
|
|
|
|
It could be that the Visual Studio Hosting process is causing this issue. To check, you can disable this by selecting Properties > Debug and uncheck the Enable the Visual Studio hosting process checkbox.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
That seems to work. What does the Visual Studio Hosting process do?
|
|
|
|
|
It's designed to do this[^].
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Isn't there some kind of way I can configure the hosting process to not keep using my exe when it's closed?
|
|
|
|
|
Nothing worthwhile. I always disable it.
|
|
|
|
|
You do? How big is the performance loss?
|
|
|
|
|
|
hi all...i have to create directory in win7 and copy file in this directory programmatically in using c#..my application properly work in winXP...but when i run my application in win7..it does not create directory as well as copy file...tell me what i do for win7....it is a C# windows desktop application...
regards
tanzeel
|
|
|
|