Construct IP Header Information And Raw ICMP Packet
Mar 1, 2009
I was trying to figure out if anyone had any example of sending ICMP packets over a Socket, when it is in raw mode?It would need to construct the IP Header information, and the raw ICMP packet.
View 1 Replies
ADVERTISEMENT
Jul 3, 2009
I want to know how to read tiff image header information using vb.net or C#.
View 2 Replies
Mar 16, 2010
I am trying to create a tool that will test to see if a device is reachable b ICMP and report back with the latency, i.e. send a ping. If possible, I would also like to get the hop count value.[code]I keep getting an error message saying " 'Send' is not a member of 'NetworkTool.Ping' ", but everyone seems to use it. So how do I do get .Send to work?
View 1 Replies
Sep 24, 2009
Is there a way to access the field header name of a databound repeater within the header template. So insted of this....
<HeaderTemplate>
<table >
<th ></th>
<th >Forename</th>
[code]....
View 3 Replies
Jul 11, 2009
I am trying to make a program that will stop people on the same network being able to tale if im online by pinging my i.p adress aparantly the only way of doing this is to "drop icmp packets and not reply to them"
dose anyone know how to do this? and can anyone provide me with a basic script that will do this?
View 5 Replies
Oct 21, 2009
I'm using the following code to populate a DataGridView with a worksheet. This is working fine, however, I'm unsure how I can get the Text from the page header. (not to be confused with the column header). Later in my code when I am exporting into an existing workbook with a new worksheet, I'm wanting to use the header text as the tab name. The header text being "September 2009" so that when I import/manipulate/export october, the new tab will be "October 2009" etc. [Code]
View 1 Replies
May 3, 2012
in my application i created table called houseloading which has field called housename.which is inserted into the sqlserver database. my table will look like this
///column name house
values red
green
what i want now is i want to display the values red green as column header in datagridview
which will look exactly like this
red green
View 1 Replies
Oct 27, 2009
I need to construct a data array and I am not sure if I can do what I need to do given the data. I probably should opt to store in a new class but that's too advanced for now
the data describes a series of points. each point has its index in a list a boolean, binary value and a list of integers of its neighbour points. so i thought it would be three columns and the third column would store a list. can you do this?
I presume i could get rid of the column dedicated to storing the integers..
View 13 Replies
Dec 20, 2009
I need to construct an XML transaction of the following format[code]...
I was thinking of creating a "GetXml" function on my object that returns the XML representation of the values in the object instance.I could do all the string concatenation myself, but surely there is a cleaner way.
View 4 Replies
Dec 31, 2009
I have an application in VB.Net and now I find out an API is not compatible and requires VB6. I am trying to convert it back to VB6 and have an issue in a Class Module. In VB.Net, I have:
[Code]...
View 7 Replies
Jun 21, 2010
Im having some trouble to construct a Master-Details form. When I navigate through each record on the master nothing happens on the details. This is so even if there exit a relation between the two tables in the database and in the dataset between the data table. Can anyone provide me with some samples or examples of coding how to proceed?
Furthermore I have tried to programmatically create the relation but the following error occurs: child list for field cannot be created etc
View 1 Replies
Aug 3, 2011
This is probably a dumb question but I have to call one of 30 or so global variables by constructing the variable name to be called from another information. However when i do that it treats it as a string. Any ideas on how to make this work?eg something like this:
Public gsNewYork As String
public sub Getinfo
dim lslocation as string
[code].....
View 1 Replies
Mar 11, 2009
I am going to construct a VB program that will calculate dog and cat ages, i plan to have a user interface to ask the user if they have a cat or a dog, then id like another window appear to ask how many human years of age is your dog/cat, up to the age of 20 (in human years) with that input the calculator will give you the age equivilent in dog/cat years.
View 1 Replies
Jul 17, 2010
I am looking for a way to read an XML file at run time and construct an Enumerator from it. I got the reading and writing all working, it's just getting all the strings to create an enumerator that's the tricky part. I could get them into a collection of strings or maybe a dictionary, but not sure how to go about converting from these into an enumerator. The goal of this is to allow users to add and delete items from the underlying enumerators and eliminate writing hard coded enumerators. My idea is to allow users to extend the program without coding. This is a Winform vb app thats not using any database but just XML files to store and retrieve things.
View 7 Replies
Jul 15, 2011
Is it possible to construct the name of an object (in this case, a Panel control) at runtime?
What I want to do is change the Backcolor of one Panel that is a member of about fifty panels. I can get the string of the name from the Sender in a RadioButton CheckedChanged event. So what I want to do is something like:
PanelName = sender.parent.name & ".BackColor"
PanelName = Color.Red
(I realize that the syntax above is invalid. I'm just using it to try to get the idea across.)
I can do what I need with big, fifty-element Select Case blocks, but the code is so repetitive that I was hoping there was a more elegant way.
View 7 Replies
Aug 23, 2009
I have a spreadsheet with Proj Numbers: "049410-001" in column B6:B60. I have the URL to the Database: I want the links to show up in the A column with the Tag being the Proj Number "049410-001".
Also, if I could clear the A column and use it "A column" to enter the Proj Numbers and then run the Macro to enable the Hyperlinks I could eleminate the Proj number taking up 2 columns. I have 80 rows set aside for projects so it needs to go through and enable the links that have text in them.
i used =HYPERLINK(E24,B105) (E24 was another wasted cell that combined the static first part of the link, and the proj) as the formula way to do it, but I'm trying to make a Macro that does it behind the scene. but I am just getting into VBA, and I have no idea what i'm looking at when I look at a code.
View 3 Replies
Mar 1, 2010
I have a CheckedListBox populated with specific records from an Sql table . I want to update each record in the table, only if the checkbox checkedState = True, so far I can update all or none. This unworkable code will hopefully give an idea of what I need to do.
[Code]....
View 8 Replies
Jun 4, 2010
I have a stack of 2D dicom images and want to convert to a 3D object using VB.NET. I suppose I can solve it using openGL but any clue would help a lot. Do you know a free (or at least cheap) pack to do it?
View 1 Replies
Feb 13, 2009
I need to use select case to input a month by using its number IE: january = 1, february = 2 etc. when the month is inputted, how many days in that month is the output. I have to take into consideration leap year. the years I am using to determine leap year is 2004,2008,2012,2016 Here is the code I have so far:
Module Module1
Sub Main()
Dim monthnumber As Integer
[code].....
View 12 Replies
Mar 31, 2011
Working with System.Cryptography, I'm noticing that data arrays up to a certain size will either conform to the size of the Initialization Vector (IV) or the size of the Key provided. So with a 48-byte Key and a 32-byte IV, up to around 42 bytes of data will encrypt to 32 bytes and 44+ will encrypt to 48 bytes of data. I've tested this with a variety of data arrays, and it seems to always come out the same... but I have a concern that higher byte values in the original array may result in longer encrypted arrays.
how or whether I can construct byte arrays that will be guaranteed to come out of Encryption at a pre-determined size?
View 16 Replies
May 27, 2010
I have a need to construct a command Byte to send to another device using bit wise operations.There seem to be plenty of article on how to do this for indiviual bits using an OR'd constant but how do I do this for values that span multiple bits? eg "Bits 4-1" set the repeat count".so how to I inject a repeat count value of say 7 into my command byte?
View 1 Replies
Jul 21, 2011
how do I get the Header text of the header the user clicked in the datagridview.I know I have to use the column header click event but I can't work out or find away to extract the clicked header data?
View 4 Replies
Feb 8, 2011
Is there a way to use Meta Tales or Table names to Construct a dynamic query in LINQ?
foreach (var metaTable in db.Mapping.GetTables())
{
var queryType = metaTable.RowType.Type;
[code]....
Is there a way to do something like this? The attempt above yields the error:Could not find an implementation of the query pattern for source type 'System.Data.Linq.ITable'. 'Select' not found. Consider explicitly specifying the type of the range variable 'q'.
View 2 Replies
Dec 16, 2009
how to make bigger tabpage page headers without changing tabpage or its contents font size. i just need to change tabpage header to make it look bigger with different font.
View 1 Replies
Feb 14, 2011
Design a form, which contain a TEXTBOX control that accept a UserID input, with a CommandButton control to perform a validation based on the criteria listed below. Display a Message on whether the UserID is Valid.
Criteria:
The UserID must contains SIX digits follow by a single character, limit the entry to a maximum of seven characters only.
The postfix character of the UserID is derived from the summation of all the six digits divided by seven and using the remain as followed:
Remain
Character
0
A
[Code].....
View 2 Replies
Mar 10, 2009
I'm building a simple udp lan chat application in vb.net and I'm wondering how I should split my packets. Each sent packet should have like an id, a username and ip address from where it's coming and maybe also a command part for like join or leave to update my userlist and a text message. I'd like to know what is the easiest way to put all this in a simple packet then easily split and access different parts from it when it's received. thanks.I'm using UDP since this is only in lan so i'm broadcasting to *.*.*.255
What I want to know is what would be the most easy and powerful way to format my packets so they include a username , an id, a command and a text message, then the user receiving it decrypt it to show only the message written by which user or if it's a command like join or leave to show the appropriate message of joining and add the user to the list for exemple.
View 2 Replies
Mar 11, 2010
first question is: Do you need to port-forward anything in order to receive a response?he sake of all that is good and holy, don't use ACCESS, EXCEL, or a TEXT FILE as a database. If you want your program to use a "local database", without any of the hassle of setting up a MS SQL or MySQL server, just click this link: >>> SQLite <<< Seriously. This is for your own good.
View 2 Replies
Feb 22, 2009
I am trying to intercept connections on port 2302 that is being used by a game. I was think about using something along the lines of
#Region " Imports "
Imports System
Imports System.IO
Imports System.Windows.Forms
[code]....
View 2 Replies
May 2, 2011
I want to create my own pocket editor like WPE because i want to program it.(To send special messages to the game servers when my program receives something.)
View 4 Replies
Aug 7, 2011
I can already capture packets however is it possible to edit the packet and then send it off? Suppose I had a udp pakcet that said "11-mydata", I want to change it to "11-newdata" then send it off. I know which packets will be accepted and which ones will be modified and sent. So is this possible?
View 1 Replies