|
Dear programmers
i have a appilcation which have multiple forms i w want to add help file to them.
when user press F1 the help file should open and respective form topic should be open
can any one done this thing before or have any idea how i can do it how can i create help file.
i am waiting for ur responses
sikandar
|
|
|
|
|
There a Number of Help creater(HelpScribble..etc) available on the market.either you can download them from net. these'll help to create HTML Help files(Help.chm).you can access them by
Help.ShowHelp(this,path);
sameer
|
|
|
|
|
Sir,
In VB.Net The keyword Redim is used to modify the array at runtime.I have an array in C# .Now the problem is , i need to modify the array at runtime .How can i implement that?
Please help.
Thanks
|
|
|
|
|
Modify in what terms?
Increase the size or something else
If you want to increase the size u better use the Arraylist which
grows dynamically.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
ok Sir , I will use theArrayList.Can u please give an example that illustrates how to dynamically increase decrease the array size using ArrayList.
Thanks
|
|
|
|
|
You just have to go on adding items to the arraylist
e.g.
ArrayList arrList = new ArrayList();
//some code
arrList.Add(item);
the above line adds an item to the arraylist
now if you want to decrease the size u can remove the unwanted item
arrList.Remove(index);
Hope u get it right..
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
if you want to flush your values in the array use
myArray = null; // redim
if you want to just resize your array use
array.resize ( ref myArray, (int)myArrayNewSize); //redim.preserve
It is Good to be Important but!
it is more Important to be Good
|
|
|
|
|
Hi
i devlope an application that is using two avi files.
i put these avi in a folder and folder is placed in Application start location.
and i use control for avi files MicroSoft Animation Control 6.0(sp6).
But in some system the application runs and in some not run.
if i remove avi control then it runs on all system
Please rell me how to manage avi .
|
|
|
|
|
I am trying to get a string from a database. The code for that works fine. I next want to add those strings to an array. This is where the problem occurs. What am I doing wrong?
for (int i = 0; i < arrayLevels.Length; i++)<br />
{<br />
int iLevelOridinal = rdr.GetOrdinal("Level");<br />
string szLevel = rdr.GetString(iLevelOridinal);<br />
<br />
arrayLevels[i] = szLevel;<br />
}
The error is:
Cannot apply indexing with [] to an expression of type 'System.Array'
I understand the error but do not know how to fix it, all help would be great!
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
|
|
|
|
|
Wht type of Array have u declared?
i guess it should be string []arrayLevels;
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
Array arrayLevels = new string[2];
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
|
|
|
|
|
Try this
string[] arrayLevels = new string[2];
Hope that works for you.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
Ok, thanks! I don't know what I was thinking...
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
|
|
|
|
|
It looks like you are trying to access an array but you are using a type called System.Array. When you declare an array like so
byte[] arrayOfBytes = new byte[1000];
arrayOfBytes will implicitly inherit the type System.Array. arrayOfBytes is not of type System.Array, it is of type byte[]. It seems like you are attempting to access a type of type System.Array but for you to access it with indexing it would have to be an array of System.Array.
System.Array[] arrays = new System.Array[10000];
If you are going to use the System.Array type use the method GetValue
myArray.GetValue(index);
I recommend you use the conventional array syntax as it is much faster and good coding.
string myArray = new sring[100];
█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██
|
|
|
|
|
Hi all,
I am working for my plan. And now, I have a problem, I need to get Stock price from the Web. One of addresses:
http://priceonline.hsc.com.vn/priceonline.vi.hsc
http://www.bvsc.com.vn/StockPrice.aspx
I used HttpWebRequest, HttpWebResponse and StreamReader to get above addresses in HTML format. Now I want to get Stock qoutes.
Can I read data from that HTML?
How to get Stock qoutes?
Pleas help me!
Thanks!
|
|
|
|
|
I would start here
http://www.codeproject.com/dotnet/apmilhtml.asp
|
|
|
|
|
Hello all,
I’m working on a Mouse Gesture Recognition application (I’m planning to do it with C#), the application is supposed to sit in the background and process gestures only if the right mouse button is held.
There are many articles/tutorials/codes about the subject… however I want to do it with Neural Networks, that way I can recognize circles and other complicated gestures.
I found only two examples about mouse gestures with NNs, one in C++ and the other in C#... and both of them don’t include enough documentation or explanation for me to understand and implement.
Examples I found are:
http://www.codeproject.com/csharp/cmgblade.asp
http://www.codeproject.com/cpp/gestureapp.asp
I was hoping to find more explanation on the matter… and perhaps simpler code!
Thanks in advance,
tmp0
PS: I've posted the same message in the "General Discussion" section, but didn't get a clear answer. I'm hoping to get another answer here.
|
|
|
|
|
I have a friend of mine which has written a fullscreen app which act as a menu for its kids.
Now he would like to be able to run it fullscreen and take over the WINDOWS, WINDOWS+E, WINDOWS+M, ALT-TAB keys when the session start. Or something like that.
What would be the best way to achieve that?
|
|
|
|
|
Hello
You'd have to make a global keyboard hook, to handle these keystroke before windows.
Regards
|
|
|
|
|
great idea!
I was wondering if there was something generic. i.e. instead of blocking this particular keys combination a way to block all those "kind" of combination...
|
|
|
|
|
i read your question on other boards also i think the answer is
1): block the start menu and desktop icons using security policy
2): make your fullscreen application (formborder style = none , windows state = maximize) catch all keys pressed and nullify the effect of windows key , ctrl+esc and other combinations of start menu genration and minimize all (window+m) , show desktop(window + d) and (ctrl + alt + dele - any app can be closed from there any new ones can be started) etc . for this you can see
this. remember this wont wotk when other application is opened and have focus cause you will have no control over the keys pressed event of them you should make a more able program (i dont know how to do it but it is being done - remember all spy applications catches key stroke from any applications.
3): your application will contains shortcut to the other applications (and you can run them from here in admin mode till the password you entered is same and you can also built an interface to update that)
4): and using policies you can also block execution / installation of programs
hope this will help
It is Good to be Important but!
it is more Important to be Good
|
|
|
|
|
thanks!
|
|
|
|
|
I have been told a few time about policy and the policy manager, but I can't find it!
I have XP Home edition.
I looked into the Control Panel and into the Accessories...
What is it (this 'Olicy manager')?
Where could I find it?
|
|
|
|
|
Hello,
I would like to learn that is there any way to execute an assembly in an application domain, asynchron. I attached the sample source code that I want to execute;
AppDomainSetup setup = new AppDomainSetup();<br />
setup.ApplicationBase = @"C:\Lab\appdomainchildcs\appdomainchildcs\bin\Debug";<br />
AppDomain domain = AppDomain.CreateDomain("RemoteDomain", null, setup);<br />
domain.ExecuteAssembly("appdomainchildcs.exe");<br />
AppDomain.Unload(domain);
In the above code, I would like to execute "appdomainchildcs.exe", asynchronus.
I would be appreciated, if anybody help me about the trouble. Thank you...
Orkun GEDiK
SAP R/3 BASIS and Development Consultant
ASTRON
|
|
|
|
|
Hello
Make a second thread and call your code from that thread.
Regards
|
|
|
|