|
Hi,
i rebuid all... and nothing change... but i found an error i code... i try set element in array bigger then declared array... but i don't know why program don't return error?!
Greetings
|
|
|
|
|
Maybe you were writing onto the null terminator ?
Anyhow, if the breakpoint is not stopped, and the code is not called, then you're not running the code you're building, one way or the other. I don't know why.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi!
I guess the line before the breakpoint throws an exception that's not being caught.
This could be the reason why the breakpoint is never reached.
Regards,
mav
|
|
|
|
|
Hi,
it's weird but, i run program in VS in debug mode... any line don't throw exception... when i going step by step program move out from block without throwing exception and do not reach next line?!
Greetings
|
|
|
|
|
Try encapsulating the line in question in a try/catch block to verify if this is really the reason for the problems you're facing.
Sometimes excaptions get through unnoticed if they are not occurring in the UI thread. In this case the one thread just dies, but the rest of the program continues to run.
Regards,
mav
|
|
|
|
|
Hi,
it is it... when i encapsulate the line in try/catch block then i can see exception...
thx
Greetings
|
|
|
|
|
Did you add the MessageBox.Show line later? My guess is there is a mismatch between the PDB file and your executable. Try cleaning and rebuilding the solution, that should solve your problem.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Can anyone briefly explain me about and the differences between Remoting and Webservices
|
|
|
|
|
|
Hi!
I need a treeviewe which shows files and folders with tristate checkboxes file-specific +icons
Plz give the solution or give the code,Cdes a re there which do it individually and they are cryptic codes, I wanted something which i could understand,So it would be very nice of you,if u can give me some insight
Akshay
-- modified at 9:25 Tuesday 27th September, 2005
|
|
|
|
|
try searching CP, i know there are articles on treevies and seperate articles on associated icons, then just put the 2 together
otherwise it would be a lengthy post here, and its just replicating what is already said
hth
g00fy
|
|
|
|
|
ya but they are cryptic codes, I wanted something which i could understand,So it would be very nice of you,if u can give me some insight
|
|
|
|
|
I'm porting a MacOSX Application to Windows.
So far we've got a viewer.
Now I would like to be able to do is when one of our file is one the web and the user click on the URL, the viewer should open in IE, very much like what happen when you open a .PFD file on the web with IE.
Any pointers on how to do that?
Even C++/Win32 one?
|
|
|
|
|
Hi,
I've used HelpProvider class to show some help strings on form
controls. But when I write a Persian word in SetHelpString() function, I see some illegal characters instead of that Persian word. Can anyone help me to solve this problem please.
P.S: Persian language is known as Farsi language also!
regards,
Mehdi
|
|
|
|
|
Hi!
I have one buttons and two text boxes on a same page at two places, that means 4 text boxes and two buttons.
My problem is to set focus on relative button or set tab index to buttons.
When i press enter after enter both value in text boxes my focus gone to the another button which comes first in left hand side of the page.
How can i set foucus to the desired button , so that when i came out from text box it automatically should go to the its next button in stead of going to another buttons, which are assosiated with other text boxes.
I hope you great people can understand this problem, and help me to out of come this situation.
Thanx.
keep smilling.....b'coz smile is the shortest distance between people....
|
|
|
|
|
Hi,
I think the property TabIndex should help you. Setting this property (is an integer property) will set your controls into a special order, which can be traversed using the Tab-Button.
You can set this property directly using code or the property page of the control (within VS.NET).
Hope this helps
Regards
Sebastian
|
|
|
|
|
What is the easiest way to detect when applications launches and terminates using C#? What I want to do is make a program that monitors my application usage.
I've read that this can be accomplished with a c++ dll that uses hooks, but I would preferably use only C#.
|
|
|
|
|
You can wrap C++ dll up into assembly that can be used in .NET enviroment
<< >>
|
|
|
|
|
If your purpose is to just record the application usage and that too only for one application [or per application], then you can also consider the simple solution of using the DateTime.Now method at the time of start of your application and the closure of your application. Do it from that application itself. And, store these values in some file or place on the user machine in the form of some log file or otherwise.
On the other hand, if your purpose is to "monitor" your application in some other manner (say by way of initiating some other action on the system), then you may consider some other solution depending upon the type of requirement.
Regards,
Ashok Dhamija
_____________________________
Padam Technologies
|
|
|
|
|
Thank you for the answers but I was hoping that that I could monitor all program (all programs on the computer, not just my application) launches and terminations with pure C#.
If this isn’t achievable then I will have to use enjoycrack’s method.
|
|
|
|
|
actualy now days i m suffering a problem
if u have a solution den plz ...give me
i want to make a VPN connection through s/w
and after a connetion thr VPN
i wanr to transfer data from one database thr another one
i make all dis after making VPN conection
but the main prob is presently i making VPN manually.
mean thr windows inbuilt facility
but i want all this thr my s/w program so user can not suffer this manually VPN connection
coz i kno dat end user has not able to do dis .
so plz if u hav soln of dis den plz mail me
i want to use windos api to make VPN connection
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Hi All,
I wanna to get some help about how to get a media player control in Windows CE.NET 4.2 using c#.
I Have tried with PIAs also. But, no help. If anyone has the sample code, please post it and help me out.
Am using Windows XP SP1 and .NET 1.1 environment and WinCE emulator version 4.2.
I wanna to play some Video / Audio files in my Windows CE application using C#.
Thanks in Advance,
HRK-Chennai
Pray for peace! Please....
|
|
|
|
|
i have a class which contains one property of ARRAY type. when I check this class in propertyGrid, everything works fine and I can work with ArrayEditor attached to the property without any problems.
now I would like to use my own ArrayEditor for this property, so I write:
[Editor(typeof(MyArrayEditor), typeof(System.Drawing.Design.UITypeEditor))]
public object[] Test
{...
MyArrayEditor is inherited from ArrayEditor. The problem is, propertygrid does not use my editor but still default one for arrays. does anyone know how to explain this behaviour?
thanks,
mike
|
|
|
|
|
If I declare in EditorAttribute string instead of type just like here
[Editor("MyNamespace.MyArrayEditor", typeof(System.Drawing.Design.UITypeEditor))]
public object[] Test
{...
it works. but if anyone understands this I would still like to know why. thanks
|
|
|
|
|
What would be a way to check an email account writing an application in C#
Mike - I love to program!
|
|
|
|