|
No Idea's how to modify the stored SQL from Query builder using a custom string that can be build from a form object? :[
|
|
|
|
|
we are deploying a winforms application using ClickOnce (OnlineOnly)
how can i uninstall it?
any pointers in the right direction would be very much appreciated
|
|
|
|
|
c:\windows\downloaded program files\(your app to delete here)?
I'm assuming it would install something like shockwave or flash. If so, you can just delete the file in the folder above.
|
|
|
|
|
Hello I have the following error with VS2005:
"the following module was built either with optimizations enabled or without debug information..."
It just comes up from nowhere while i was debugging my program.
It just pops up whenever i try to run my program which is composed of 2 projects. I have an application project and a main project. With that warning any changes in the main project are not updated in the solution.
I tried to change the property to debug and it's not working. I tried to detach the main project and readd it back to the solution and it's not working. I also made sure that the application project refere correctly to the main dll in the main bin.
I try to look around and some people do have this kinda problem but it's more related to deployment which is not my stage yet.
Can anyone tell me what's going on?
Donkaiser
|
|
|
|
|
To debug this module, change its project build configuration to Debug mode. To supress this message, disable the 'Warn if no user code on launch' debugger option.
--
I've killed again, haven't I?
|
|
|
|
|
Where is the "warn if no user code on launch"?
Donkaiser
|
|
|
|
|
well I found the option. but i still need to manually remove the reference in my application and reAdd it after change in the main project. before after any changes in the core, all i needed was to rebuild the solution to make it work.
Donkaiser
|
|
|
|
|
I am not sure what created this error.
but the error which I got in my c# application says "Windows form exception Error creating windows handle". I dont know whether it exceded the number of handles but I am surprised that limit is atleast 1000 and I dont have 1000 controls on my form.My application has single form and
one tabcontrol with 7 tabpages. There are many callback event firing in the application these events populate the listboxes on each tabpage. I read it in some message forums that controls on tabpage does exceed the number of windows handle used. IF anyone has any idea about this issue please let me know.All responses will be highly appreciated.
Mandar Patankar
Microsoft Certified professional
|
|
|
|
|
Can you post the complete error message (i.e. the one in Exception.ToString() so that we can see what was being called)?
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
Thanks for replying ed.
this is the error message
An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll
Additional information: Error creating window handle.
this error is random. Application works fine for some time and suddenly when you are switching between tab pages this error is raised.
Mandar Patankar
Microsoft Certified professional
|
|
|
|
|
Have you tried running it inside the debugger and investigating the current state of the variables. Take a look at the stack trace as well if possible (this should be included in the exception text). You'll just have to experiment and try and find out if there are any common things occurring at the same time as the exception (such as an object being null, stack overflow etc).
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
Ed,
thanks for your response but I figured out the problem. I was running some background threads in my application and these threads were updating the windows controls like listbox and textbox.So, if user clicks on the form while these threads are updating these controls a exception was raised. The solution which I figured out and probably works fine is updating controls using delegate invoke from background threads. Common example of using methodinvoker and creating static object of the form class.
Thanks
Mandar Patankar
Microsoft Certified professional
|
|
|
|
|
That's OK it's nice to hear back that someone managed to solve the problem.
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
Hi friends
If i want to code a big project in c# in VS2005 which road must i follow?What do you advice me?
Especially i want to design it with plugin support.I write it skeleton, then other parts will be plugin or it can be developed by other coders.I want to learn what must i prepare before start coding.How must projects settings be for plugin support or for a such a big project.(For great extensibility)
I am looking for your answers.Any links , articles, advices will be very useful for me.
Thanks..
|
|
|
|
|
I'd recommend the following things (in order)
Read Tim's article on Divelements http://www.divelements.com/net/articles/plugins/plugins.asp[^] It's the first one I read and was (still is but not as good now that he doesn't provide free controls anymore )
Take a look at the SharpDevelop[^] code if you need ideas for a really big project.
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
is it possible for me to convert a strig to a string array in c# and if so how??
beginner in C#
|
|
|
|
|
String has the Split method, which should be what you are looking for.
josh
|
|
|
|
|
yes andi normally use the split function for example
if i hava a string="walk,keny,go"
i will get all off the values like walk or kenny or go by setting the delimeter to ","
but supposei have a string="lets walk to the suppermarket"
is there anyway for me to access each character by themself for example i know if i was puting this in an array. array[o] would be l and array[1] would be e
???? u have any idea how i could do this? or any link to any example if it might be too tediuos to show me how to do it?????
beginner c#
|
|
|
|
|
You could use String.ToCharArray() or maybe simply call String.SubString(index, index+1).
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
www.troschuetz.de
|
|
|
|
|
what would index and index+1 be for example string.substring(0,1) and this will return the first and second element??
|
|
|
|
|
Ups, I didn't look hard enough at the docs. First parameter is the startIndex, so if you want the "l" from your example string it should be 0. Second paramter is length, so it has to be 1.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
www.troschuetz.de
|
|
|
|
|
Thanks it works perfectly
kenny
|
|
|
|
|
Does it have to be a string array, if you're only using single characters then the string.ToCharArray() will do it exactly. But if you want to use strings then I think you will have to write a loop which walks through, adding them to a list as it goes.
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
i would prefer it to prob be a string because as i go alopngiwant to tets my data to see what is bieng saved but everytime i try to set a textboxt.text=charArray[0] i get an error saying char cannot be converted to string
hence if it was stored in a string array i cold prob display it in the textbox or i dont know if is the way i am trying to display it is wrong.
is there a way display char in your textbox
do u have any samples onlinei could look on that shows u how to loop through a string character by character
kenny
|
|
|
|
|
keroed_edmond wrote: textboxt.text=charArray[0]
Try
textboxt.text=charArray[0].ToString();<br />
<br />
:doh:<br />
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|