|
I had a similar problem,
Hope u have the debugging rights. Just check project
properties --> configuration properties --> Debugging
---> Enable ASP.Net debugging.
Enable ASP.Net debugging should be true.
(I assume u r having problem debugging ASP.NET applications)
cool man
|
|
|
|
|
Hi
How can i create indexers in Vb.Net
Thanks
|
|
|
|
|
What do you mean? What are you trying to do?
Are you talking about an enumerator as in C#?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I think he was talking about this[^]
As far as I know, VB.Net does not support indexers, though you could always used parameterized properties as a poor man's choice.
"if you vote me down, I shall become more powerful than you can possibly imagine" - Michael P. Butler.
|
|
|
|
|
How to create indexes in vb.net
Pls help I will glad to get a reply
Thank You
|
|
|
|
|
Index of what? You'll have to be alot more specific about what your trying to do.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Can we use Common Dialog for folder selection? if yes then how.
-qur
|
|
|
|
|
I dont think so you want to look up API SHBrowseForFolder I think or something like that - http://www.mentalis.org/apilist/SHBrowseForFolder.shtml
they have the an example here ( above)
"If i was king cigarettes would be free."
|
|
|
|
|
What do you mean by folder selection? You it return the path of folder location? If yes, I think you we can do. Example: In Ms Word -> tool menu -> Option -> Folder Location tab and select on Clip Art picture then click on Modify... button. Then the modify location dialog appear, this dialog box similar to save/open dialog box. Choose your location that you want then click OK button. Then it will return the default path that Click art dialog will appear when you insert picture.
From here, we can imagine that we select only folder (no file display) then its return the path of the final folder. So I think we can use Common Dialog for folder selection. I never use this method before, but in my option we can do that.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
help me please...do you know how to call the equivalent codes in another worksheet?(the codes were saved in another worksheet).the situation is this, we get the data(relay monitoring data) in TSD machine(test system directory).and after getting it and saved,we transferred the data in excel.in excel, by using the pivot table the datas that has relaycounts were summed up, so the table shows.what im up to is,to get that data's equivalent relaycodes and put it were the pivot table is..pls help me with this..please...tnx a lot!
>sample pivot table:
date (All)
node000 (All)
deck serial# (All)
Sum of relaycount
E322 mux# device Total
E322 0 W1-O'0001' 241473
W1-O'0002' 31038
W1-O'0004' 264470
W1-O'0010' 265920
W1-O'0020' 205564
W1-O'0040' 76032
W1-O'0100' 200748
W1-O'0200' 98630
W1-O'0400' 180551
W1-O'1000' 217583
W1-O'2000' 135117
W1-O'4000' 171008
W2-O'0001' 97822
W2-O'0002' 158529
W2-O'0004' 73015
W2-O'0010' 146991
W2-O'0020' 200390
W2-O'0040' 165522
W2-O'0100' 104003
W2-O'0200' 176688
W2-O'0400' 39158
W2-O'1000' 37260
W2-O'2000' 85264
W2-O'4000' 63123
W3-O'0001' 189568
W3-O'0002' 29730
W3-O'0004' 71374
W3-O'0010' 102936
W3-O'0020' 92540
W3-O'0040' 93394
W3-O'0100' 43051
W3-O'0200' 343854
W3-O'0400' 18418
W3-O'1000' 43638
W3-O'4000' 349714
W4-O'0001' 414846
W4-O'0002' 375504
W4-O'0004' 163400
W4-O'0010' 155733
W4-O'0020' 6811
W4-O'0040' 6811
W4-O'0400' 135515
W4-O'1000' 76145
W4-O'2000' 1012
W4-O'4000' 140622
0 Total 6290515
E322 Total 6290515
(blank) (blank) (blank)
(blank) Total
(blank) Total
Grand Total 6290515
|
|
|
|
|
Hey,
has anybody tried using global hooks with WH_JOURNALRECORD or WH_JOURNALPLAYBACK in VB.NET?
I used the class found at http://msdn.microsoft.com/msdnmag/issues/02/10/cuttingedge/
and http://www.codeproject.com/csharp/NetWin32Hooks.asp and it works fine with WH_MOUSE or WH_KEYBOARD (i have modified the code to make system-wide and it works fine).
However, once i set the hook to WH_JOURNALRECORD or WH_JOURNALPLAYBACK the system stops responding (but the mouse still works) and the system only un-freezes when i pres CTRL+ALT+DEL...i also noticed that the journal callback procedure is never called in WH_JOURNALRECORD but it IS called after WH_JOURNALPLAYBACK but ONLY when i press CTRL+ALT+DEL...anybody knows anything about this?
Thanks
|
|
|
|
|
check the order you are calling the keyboard hook's, WH_JOURNALRECORD will freeze up if somthing else hooks the keyboard after it has been installed.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/Windowing/Hooks/HookReference/HookFunctions/JournalRecordProc.asp
An application that has installed a JournalRecordProc hook procedure should watch for the VK_CANCEL virtual key code (which is implemented as the CTRL+BREAK key combination on most keyboards). This virtual key code should be interpreted by the application as a signal that the user wishes to stop journal recording. The application should respond by ending the recording sequence and removing the JournalRecordProc hook procedure. Removal is important. It prevents a journaling application from locking up the system by hanging inside a hook procedure.
I would also heed this Note from MS:
"Note: You should use global hooks only for debugging purposes; otherwise, you should avoid them. Global hooks hurt system performance and cause conflicts with other applications that implement the same type of global hook."
|
|
|
|
|
Is there some kind of tab order, like you have in visual c++.
<italic>Work hard and a bit of luck is the key to success.
|
|
|
|
|
Sure is - each control has a Tabindex prop......works in order of the indices that you apply to the controls.
"If i was king cigarettes would be free."
|
|
|
|
|
goodmast3r wrote:
Work hard and a bit of luck is the key to success.
No it's not! It means the schmuck you work for gets to look good because of your work. You get stuck as his slave until he gets promoted and you become someone else's slave.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
That's cheery thought. Having a bad day?
"if you vote me down, I shall become more powerful than you can possibly imagine" - Michael P. Butler.
|
|
|
|
|
You have no idea...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Is there any way to hook keyboard input as wl as mouse clicking event?
Word.Application object has an event called
WindowBeforeDoubleClick I am looking for similar event for keyboard.
I am trying to find a way to enable a toolbar button when active document is modified.
Van
|
|
|
|
|
As i understand, you want to keep track of every keyboard action the user performs in the word document?
You can always implement a local hook on the word document thread using any of the classes available here: http://www.codeproject.com/csharp/NetWin32Hooks.asp or here http://www.codeproject.com/csharp/GlobalSystemHook.asp
The rest of the work you have to do is first get fmailiar with these classes (maybe you already are) and second you'd have to get the ThreadID of the desired word-document window...I know a way to do this by using the Win32 API call for FindWindowEx...you simply have to specify the name of the window (in your case "Word" and it will return the hWnd...just stick that hWnd instance to the above classes and you're hooked to the word thread
Let me know what happens
|
|
|
|
|
Hi
We want to create a startup script that when run will remove all groups from the local Windows 2000 Power User group and then add a Active Directory Group to this local group. Does anyone have or know were I could find this a example of code that does this?
Thanks
Andrew
www.purenetworking.net
|
|
|
|
|
You'll find what your looking for at the Script Repository on MSDN[^]. Be careful how you code this script and when it is run though. You don't want your users to be running it at login. This will have to be run by a Policy object that has admin rights to the machine.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Try to browse the script in here[^]. It has a lot of sample script to work in windows OS.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
how do you play a sound-file in VB.NET without having to play it through a Media Player object?
|
|
|
|
|
Mentalis.org[^] has a class[^] to play media.
I used it for a media player I made a while back.
--
Aaron Eldreth
|
|
|
|
|
I have a situation where I need to download multiple files in a vb.net application.
To speed up the process, I am trying to download multiple files at one time looping through each of the files and launching them in their own thread (code below). The problem is that when there are hundreds of files to download, it launches them all at the same time and half don’t get downloaded. Any idea how I could control it to launch say 4 at a time, so that when one finished another would launch until the batch is complete? Was thinking message queues but am not sure if this is the right path to take.
Any help is appreciated
Dim count As Integer
'loop through each file
For count = CType(txturlcountbegin.Text, Integer) To CType(txturlcountend.Text, Integer)
' create new download object
Dim c As Common = New Common
' Hoook up the on download complete event
AddHandler c.FileDownloaded, AddressOf filesaved
'Set the file download properties
c.fn = txtFileName.Text
c.sp = txtSavePath.Text
c.wc = txtWildCard.Text
c.tb = txtBegin.Text
c.te = txtEnd.Text
c.url = Regex.Replace(txtURL.Text, txtURLWILDCARD.Text, count.ToString)
c.batchnum = count
'launch a new thread to download the files
Dim t As New Thread(New ThreadStart(AddressOf c.getFiles))
t.Start()
Next
|
|
|
|