Finding A Winpcap For .net?
Jan 25, 2011Is there a Winpcap for Visual Basic .net?
View 8 RepliesIs there a Winpcap for Visual Basic .net?
View 8 RepliesI'm sure I did this several months ago but can not get to work now. Have 2 Nics in PC: 192.168.61.201 and 202. NICs are connected thru switch. Normally if I ping 202 no packets would go out PC but 201 would ping 202 thru backplane.If I use WinPcap.SendQue it appeared (based on switch stats) that ICMP request packet from 201 went to switch and response packet from 202 went to switch and then to 201 NIC. Trafffic appeared in Wireshark. My belief was that WinPcap.SendQue forced packet out.Does this seem correct analysis ? Op: XP Pro SP2, Well it now appears I have SP3.
View 3 RepliesMy EmpTable is in SQLserver & Data entry using Visual Basic 2010 "List format" on Windows form.Sir my requirement, if I enter (Date of Birth) in DOB column the Age should display on the same form in Textbox.
View 3 RepliesIn my vb.net winform application, I am moving the file from one folder to another. I need to store the datetimevalue when the transfer has been done. Later I need to show this DateTime value in my Grid. Here is the code i have written, but not able to store the datetime value.
[Code]...
In vb.net I have control named checkbox1 that I can see at dropdown menu in properties tab. but in designer I am not able to locate it... Also when I am selecting CheckBox1 from properties' dropdown menu, no checkbox in designer gets highlighted.... How to find that control in designer?
View 3 RepliesI have to provide a client with a method to retrieve data from an Audiometer. The equipment is discontinued, but they have six of these and are used every work day. Using port monitoring and the DUMP command on the peripheral I was able to read the data and save to file. Now my challenge is decoding each line. It appears that only a section of the string is not in plain values.I added the pipe separators for clarity. I have determined those columns are: EMPID | DateTime | TechID | Results | ResultType = Test.[code]
View 8 RepliesI have been finding a VB, or C# or C++ Dll injector for a long time. Ive decided to make one. So in VB i went to toolbar and found "Process" and i didnt know what to do after. how to make one (dont post code). Ive tried using the "GetProcessByID" thing but dont work.
So far what i did:
If Process.Start("Engine.exe") Then
End If
Also how do u make it inject the "DLL"?
I'm looking to take a screen shot with my program and try to find an image inside of it. Is this possible?In other words, I am trying to find an image inside of a larger image. It would be great if it could be a screen shot of just the webbrowser form.
View 18 RepliesI can't find out how to find and open the program wow.exe using VB.
I can get it to open mine but it can't open other peoples they get errors when they try, I have xp and the Vista and other people can't get it to open theirs so I need to know how to find the file then open it.
The code I'm using is this:
Private Sub Play_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Play.Click
Dim installpath As String = String.Empty
[Code].....
I have some code that generates 15 random numbers between 1 and 100 and prints the 15 numbers in a listbox. I want to be able to find the max and min numbers in that list. How would I go about finding those values? I'm new to VB so a solution involving basic string/array manipulation would be preferred.
View 2 RepliesI am trying to find the name of the first worksheet in excel. I can get the list of sheets, but i need to know which on is the first one in the workbook. using vs 2010 and office 2007
View 1 Repliesunder VB6 I used to use the code app.path, what is it under VS2008
When I write the final code I want my program to install the exe and support files in the same directory/folder
In the software I want to be able to refer to these support files when needed
Regards Princy558
I am trying to run some code on Page_PreRender but only want it to run on hyperlinks within a certain DIV. What the code does is change the colour of a hyperlink if the NavigateUrl = the URL of the page the user is on. I have some code that works but it changes the colour of every link on the page that matches when I only want it to happen within a certain div.
[Code]...
I have the following Leak situation in a VB.NET (.NET2) application: a form - DetailTache (TaskDetails) - in my MDI application is not garbage collected is not collected ofter open/close.
EDIT: Result search from projet of WinComboRowSelected Event. There are 3 usages of this word in application:
Declaration in Class WinCombo: Event WinComboRowSelected(ByVal sender... (only one)
Raising: RaiseEvent WinComboRowSelected(sender, (3 raisings)
Usage: ...e As Keolis.ctlWinCombo.WinCombo.WinComboRowSelectedEventArgs) Handles cmbProduit1.WinComboRowSelected (multiple handles).
there is No other usage of this event.
In a VB application I am building, I need to launch Outlook. Obviously, on every computer the path to Outlook will not be the same. Thus, I need to know how to find the path of Outlook on the user's computer before I Shell("path"). How would I do this?
View 6 RepliesI need my published vb 2008 application to open a helpfile that I wrote. It is a simple .txt-file and this piece of code does the trick as long as the program is not published because I already know where I placed the Helpfile:
System.Windows.Forms.Help.ShowHelp(Me, "C:Helpfile.txt", HelpNavigator.TableOfContents)
After it is published on another pc, the helpfile is not on the root of the c-drive but in the application folder of the program. However, I can not know where the path to the program folder of someone else's pc is. It all depends on where they decide to place the program when they install, right?
It seems I need to replace this little: "C:Helpfile.txt" with some code that searches all the drives and directories and/or points directly to the Helpfile's placement - i.e. the parent directory of the program.
I need my published vb 2008 application to open a helpfile that I wrote. It is a simple .txt-file and this piece of code does the trick as long as the program is not published because I already know where I placed the Helpfile:
System.Windows.Forms.Help.ShowHelp(Me, "C:Helpfile.txt", HelpNavigator.TableOfContents)
After it is published on another pc, the helpfile is not on the root of the c-drive but in the application folder of the program. However, I can not know where the path to the program folder of someone else's pc is. It all depends on where they decide to place the program when they install, right?
It seems I need to replace this little: "C:Helpfile.txt" with some code that searches all the drives and directories and/or points directly to the Helpfile's placement - i.e. the parent directory of the program.
I'm looking for some smart ideas on how to quickly find all usage of session state within an existing asp.net (MVC) application.
The application in question was the subject of outsourced development, and has been running fine in production. But we recently realised that it's using InProc session state rather than (our preferred route) StateServer.
In a small scale test, we switched it over to StateServer, and all worked fine. However, when we deployed to production, we suddenly experienced a large number of errors. I'm not sure if these errors were caused by this change (they were actually complaining about database level problems), but removing the change allowed the application to function once again (this may have just been because it caused a recycle to occur).
So before I try switching it again, I'd like to perform a thorough audit of all objects being placed in the session (I'd previously taken a quick look at a couple of controllers, and they seemed fine). If I had full control over the code, this is the kind of place where I'd just comment out the class (to compile and find the various ways of reaching the session class), then comment out the accessors, hit compile, and visit each error. But I can't do that with built in .NET framework types.
I decided to try using Reflector. I've analyzed the "Used By" for each of the following:
System.Web.HttpSessionStateBase.set_Item(String, Object) : Void
System.Web.SessionState.HttpSessionState.set_Item(String, Object) : Void
System.Web.SessionState.HttpSessionState.set_Item(Int32, Object) : Void
[Code]....
i'm using Visual Basic 2008 - Office 2007 - addin for ppt.
ok i'm going to delete the other thread. i'm going to rephrase and try to explain as clearly as possible.
I need to find a code that (when i click the "Search" Button) will start searching for all available lan and wireless connections.
All the available selections will be shown in a List Box provided.
Once i find one i want to use, i can stop the search (by pressing another button "Stop" in this case) or just straight away click the one i want and press another button ("Select" in this case) and if it needs a password or WEP then it will display or it will just connect without asking.
I want my app to look for a byte pattern in a process and return the first memory address of that byte pattern. I know I should use ReadProcessMemory and a loop, but I don't really know how to create a function for that,
View 2 RepliesNow what I am trying to do is to find cycles in my graph. I have a user drawn graph using lines. Now what I want is to find out if any cycles exist in the graphs. My idea is to find a way to recognize a closed shape and then fill it in. I get this idea from ms paint , where if you draw shapes, the lines must intersect each other and form a cycle for the color to be in.
[Code]...
I am trying to search a drive letter (C drive) for a file in Vb.Net 2010. After I find the file path I want to run the executable. This is the code I am trying to use to find the file:
path = Convert.ToString(IO.Directory.GetFiles("C:", "wswc.exe", System.IO.SearchOption.AllDirectories))
[code].....
i have 2 groups of text in my text file
Bottom
11.0 28 Red (2 13.10 04.0) [1 16.71 33.3] 130611 2948 229111 28275
6.5 28 Blue (2 03.00 03.0) [1 05.36 58.3] 132111 -67725 191611 -51225
2.0 28 Blue (1 05.36 45.3) [1 05.36 58.3] 211111 51225 210454 34691
[Code].....
figured out a different way to code it that _should_ work around the problems people pointed out before.... but one problem is still the same, the examples I find to code pieces of this are all for old versions of visual basic, and don't workI'm a firefox extension developer. I wrote an extension to allow both private and normal browsing windows simultaneously by having two firefox processes. I figured out a way on the Mac to raise the private browsing process when appropriate... it looks like visual basic is the way to do it on Windows... so I'd like firefox to run a visual basic program that does the following:Look through the process table for all firefox.exe processesFind out the process id of the process that called the visual basic scriptThrow out the process ID of the parent process... now we should just be left with the "private browsing" firefox process
View 2 Repliesif i wanted to return a value from a dataset using the ID how could i search it.. its going into a textbox..
so
dataset1 has
INDEX, ID, fig1,fig2,fig3,fig4
I want to return fig1 where ID = myID
textbox1.text = fig1
Me.pass = Conversions.ToString(CDbl((((Conversions.ToDouble((4 & 3)) - Conversions.ToDouble(4)) + (Conversions.ToDouble(2) * Conversions.ToDouble(1))) / Conversions.ToDouble(2))))
[code].....
i'm coding my own mini cheat engine, and I have a problem with displaying the addresses in the process, like each address in the process should go to my listbox.
View 12 RepliesI'm struggling to think of the best route to go down.
Basically, it's a booking system and in the database I have two datetime fields.
CODE:
As you'll see, these particular records represent seperate bookings, each taking an hour each. My question is what would be the best way of viewing what times I have available (taking into consideration the data in the database)? After 11:00, the room is free, so I'd like to return 11:00-17:00 is available.
how I would find certain characters in a string.
View 4 RepliesI have a form that for some reason has several textboxes but I can't find them anywhere on the form. How can I get rid of these?
View 2 Replies