|
Thanks for answering.
Regarding question #1:
The apps in question aren't using any network or internet related controls.Just your basic combination of buttons,text boxes, notifyicon, etc.I guess I'll try a network sniffer and see what they're doing.
Regarding question #2:
If the FSW is only watching the destination folder, shouldn't the file created event in the temp folder be ignored?
Eric.
|
|
|
|
|
Emetz564 wrote: I guess I'll try a network sniffer and see what they're doing.
That would be my next move.
Emetz564 wrote: If the FSW is only watching the destination folder, shouldn't the file created event in the temp folder be ignored?
It is being ignored. The FSW only watches the target folder. When it starts, it enumerates the files and their Created and Modified DateTimes, along with other things. Every once in a while it makes another list and compares the two.
When a new filename shows up or a file with the same name has a new Created time, it fires off the Create event.
If a file disappears off the list, Deleted event.
If a file has a new Modified DateTime, the Changed event.
Now, Renamed is a bit different. The FSW CAN detect a renamed file, but, for some reason, not in all cases. It depends on what the application is doing that is modifying the files. Either the Renamed event is going to fire, or the Created event will fire, maybe along with the Deleted event. It probably has to do with a timing issue when the FSW scans the target folder(s).
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Hey all, I'm kind of new to VB so be gentle with me.
I'm trying to write an application that detects a mouse click on a video (target acquisition), working with still pics (jpeg etc.) worked great
but when I play a video (using MMcontrol) the clicks are not detected.
I'm using VB6 (thats what the U offers) and directx9 (on XPsp2)
Thanx in advance , have fun ya all.
|
|
|
|
|
I haven't used the MMControl in, what, 8 years. But, IIRC, it doesn't give any Click events for the video window, just the control bar.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Well thanks.
what i really need is a way to detect a click on the video, I don't care which
controller I use, if there is anything taht can make it work I'll take it.
thanks again.
|
|
|
|
|
Well, I don't know if it's possible, because I just about never touch DirectX, but if you have the capability to tell DirectX which window to draw in, you can use a PictureBox control as the target window, then handle the Click event of the PictureBox.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
can some one tell me on using Biz talk server for .Net application.
|
|
|
|
|
You haven't really given us a question to answer. All we can do is refer you to the BizTalk Developer Center[^].
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
i have a syntax richtextbox; which check words in change event; its working but very slow; i want to minimize the load using of backgroud worker; which process colorizing process in the same time with writting, please i need the solution for this problem very soon!!!
my E-Mail:
mosayousef@yahoo.com
thank you!
mosayousef@yahoo.com
|
|
|
|
|
You could move that to a background thread, but it's going to get slower the with more and more text. The RichTextBox wasn't designed to be a colorizer. It'll work, but not good. THe problem is that the user is still modifying text while you code is trying to modify it too. That's not easy to control. Depending on the method you chose to do the coloring and put the RTF back into the RTB, you can be overwriting the changes the user is making to the text, while your colorizing it. Since we know nothing of your code, it's really impossible to say anything other that refer you to an article like this one[^].
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Hi,
I have a list of records. Those records have a field called Progress. There are 4 Progresses. 'Pending', 'Work In Progress' and 'Completed'.
If I sort by Progress in ASCENDING, then the order will be:
Completed
Pending
Work In Progress
If I sort by Progress in DESCENDING, then the order will be:
Work In Progress
Pending
Completed
I need PENDING to be at the top. So that all the records which are PENDING will be at the top and the rest can be sorted as normal. Any ideas how I can do this?
Thank you.
|
|
|
|
|
Add a new column to the DataTable in memory and set the value based off the Progress column. That way you can set Pending = 1, work in progress = 2, completed = 3. Then in your code take the dataview and sort it.
dim dv as DataView = dataTable.DefaultView
dv.Sort = "NewSortColumn"
Or you could just add a Sort column to your table in the database as well.
Or you could move the Process column into its own table and just stored the processid in your table you are returning.
Hope that helps.
Ben
|
|
|
|
|
Or sort based on len(Progress) bcos it has the least length.
Regards,
Arun Kumar.A
|
|
|
|
|
That's a really bad idea. I'd fire you if you wrote code like that.
What if the status enums change? How about localization changes in the text of the enums??
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Sorry , I didn't think on these effects.
Anyway, thank U very much.
Regards,
Arun Kumar.A
|
|
|
|
|
Silly me .. I found the easiest and most reliable way of doing this..
Simply add another column in the Database called Progress Number. Pending will be 1, Work In Progress will be 2.. etc..
And then simply sort by "ProgressNumber"
Thank you guys for the help.
|
|
|
|
|
Hi,
I have a windows form and I want to print the contents of it. Is it possible to do this in vb.net
|
|
|
|
|
It is.
There is an article here[^] that gives one way to do it, and there is also an MS control that emulates the old VB6 "PrintForm" command in the Visual basic Power packs...
|
|
|
|
|
Hi,
Will this work with VB.net 2003. also I can't find the component. Can you help.
Thanks
|
|
|
|
|
It doesn't work with VB.Net 2003 because the code is written with VS 2005 and uses some of the newer language features such as generic collections.
You could just use the compiled component if you have someone who has VS2005 to compile it up for you or move your code to VS2005?
(The component is in the source code attached to the article)
|
|
|
|
|
|
Hi all,
I have written code in VB(Using MSCOMM Control) to Dial a phone Number through internal modem.The code is working fine i am able to make a phone call through Modem. But the problem is How to record a Phone Call. Can any one Help me to Record a phone Call
Thanks & Regards
S.Raju
|
|
|
|
|
Making the call was the easy part
Recording the call is going to be harder. It depends on how you made the call really as to how you can get attached to the audio stream and if your modem even allows you to get it.
Personally I like to keep modems for data communication and not voice. They were not really made for voice.
Tapi is going to be a pain as it really does not work very well with managed code (no matter what anyone says) and the Unimodem TSP does not support full duplex audio.
|
|
|
|
|
Hi all,
Thank You.
Can u tell me the procedure to record a phone Call.
Thanks & Regards
S.Raju
|
|
|
|
|
As I said there is no really simple way to do it using Tapi and managed code but I am not even sure about what interface you are using?
What kind of modem do you have? Is it a modem that has speaker phone functionality or just a plain modem?
Personally I always point folks trying to do voice applications with modems to stop before they put to much work in and make the step to real telephony hardware that is built to do this stuff.
Let me know if you are ready for that. Its not cheap but I can help out a bit with the programming aspect.
|
|
|
|