Client Has Received A Big Red X Over On Of The Tabs?
Sep 18, 2009
I'm administering an application written in vb.net 2005 and running on windows XP but displayed to the client through citrix. The client has recieved a big red x over on of the tabs. I am unable to duplicate it?
View 5 Replies
ADVERTISEMENT
Jun 27, 2011
Hey guys, I am trying to send data from client to server (encrypted) and the string sent from the client is not the same as recieved from the server. I've been killing my brain for hours to get this to work but I cant manage. Im converting everything to Base64 string.
Client:
Public Sub SendMessage(ByVal msg As String)
Try
SyncLock myclient.GetStream
sw = New IO.StreamWriter(myclient.GetStream)
[code]....
View 4 Replies
Oct 22, 2010
I have written a simple Server application that transmits an XML string to all connected clients when the user updates/alters a datagridview. When I connect to this server with telnet I can see the correctly formed xml string.
I have also written a client application, which on reception of the Xml string, displays it in a datagridview. But When I look at the xml string it is either missing parts of in the wrong sequence.
[Code]...
View 1 Replies
Mar 16, 2009
I was wondering if there was a solution to replacing the tab control's tabs with custom tabs made in Photoshop. I know there are plenty of super expensive programs that can do it, but I was wondering if there was a way to do it programmatically. I was thinking that maybe it could linked in some way with a .DLL?
View 1 Replies
Mar 6, 2009
My code is basically a file parser/editor and it handles most files fine as they hold a handful of records concerning family members. However there are a few files that crash when trying to deal with them. Here is the problem.Each family member record creates 3 tabs that hold an average of 3 group boxes each. Each group box holds an average of 3 text boxes.So each member record creates 3x3x3 = 27 text boxes and some files get up to 289 family members which = 7803 text boxes.
The problem is the rare file with 400+ member records = 10,800 text boxes which causes a crash due to using up all the window handles. Each member has a separate tab page (with 3 subpages) but really only a dozen or so member pages are visible in the GUI with scroll arrows to move through them so I was thinking of somehow making the GUI a scrollable window so the tabs get built, displayed and disposed as the user scrolls left and right through the member tabs.
The files are parsed into a 3d list DataList(x,y,z) where x is the page number, y is the group box number and z is the text box number. So all the data is available. The code then traverses MyList and builds GuiList(x,y) where x is the page number and y is the groupbox number with all the textbox.text linked to MyList(x,y,z) locations so all text changes are reflected in the MyList.
I already have a memberCount variable and I am thinking of building, say, the first 30 member tabs with the middle 10 being visible in the GUI. If the selected tab > 20, then dispose of the first 10 tabs and create tabs 30-40.I am thinking I will keep all the member tab pages so I don't have to deal with inserts and indexing problems but just dispose all the group boxes and text boxes for tab pages out of view. I already have a deep clone sub that clones members when the user wants to add a new family member and I am thinking I will have to add something similar when a tabpage is passed in for disposal, it traverses and disposes each text box, then disposes the group box for each group box on the tab page.Additionally, another routine will rebuild the group boxes from the data held in MyList(x,y,z) when a tabpage(x) is passed in.
View 2 Replies
Jun 21, 2010
We are creating a Who wants to be a millionaire style game in VB. Our server is pulling information such as questions and answers from a Access Database and sending them to the contestants (Clients). All transfer of information is directly from the server to each client. One of the "Life Lines" we want to use is "Ask a friend", where one client is able to Instant message another client for a short time to get help on the question.
[Code]...
View 2 Replies
Dec 1, 2008
I have been reading through Atheists posts in regards to client-server and TCP client/server connection's. But how do i go about writing a program with 1 client and server where the client side creates a text file.Once the server sees there is a text file it connects and downloads it to itself or the client pushes the text file to the server.Once on the server i will read the text file and put its info into a sql db.
View 14 Replies
Jun 29, 2010
I have an application that takes a series of reports and sends them as attachments in an email to a specified group of email accounts.
When I run the Java version of this using apache commons and the same setting, the email is sent. However, when I run the VB.NET version of the code, it fails on my local machine and on the client machine.
I have a VB.NET web application running on a server that uses similar code. I tried that code locally and it fails. Yet, the web application is working perfectly.
Why is it that the Java application can send the email, but the .NET application cannot?[code]....
View 7 Replies
Aug 18, 2009
Im using the code from [URL] as a starter, most of the code is the same. the chat system works fine but on the client a added a disconnect button "clientSocket.Close()" and as soon as i click that i get errors, on the client, this is the code...
Private Sub getMessage()
For infiniteCounter = 1 To 2
[CODE]...
And this line...
serverStream.Read(inStream, 0, buffSize)
gives me "Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall."
Now im talking the server, after the client clicks disconnect or closes by task manager, looses connection, etc the server crashes and gives me.
View 5 Replies
Apr 19, 2012
Chat Client to Client Without Server Just Use IP Address For it?
View 1 Replies
Feb 7, 2011
for a school project i need to make a vb application that can stream from client to client.
View 4 Replies
Mar 15, 2011
i was trying to get a ftp client work on vb.net but i recieved a error 530 not logged in.
[Code]....
View 2 Replies
Aug 28, 2011
i want some method for get sent and received speed of internet?
View 16 Replies
Sep 5, 2010
This question is about trying to find a way of telling what is being sent of the NetworkStream as in whether it is Text or Binary. For example I could have a Server program on my Girlfriends computer and the Client Program on mine, two functions on each:
Server: Textbox for catching any text sent (like a chat for example) and a function for receiving files (like an EXE or others)
Client: Textbox for sending text to the client (again like chat) and a function for sending files (again like EXE or others)
How do you code the server to tell it how to determine which is which (Binary or Text) and further more what if the file being sent isn't an EXE, what if its an image or a text file or other type? I already know how to send a file through to the server and put it back together on the other side but thats only sending an EXE file. I'd want to enable an update functionality in the server so it can receive a message from the client saying its sending through an update which once the server gets the message it will know what to do on the other end (i.e. stopping itself whilst the update.exe is running and copying over the new file).
View 8 Replies
Oct 15, 2011
Below is my code, but when i send the message thru client socket i receive Specified argument was out of the range of valid values. Parameter name: size
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim serverStream As NetworkStream = clientSocket.GetStream()
Dim outStream As Byte() = _
System.Text.Encoding.ASCII.GetBytes("0800822000000000000004000000000000000920092126012345001")
[CODE]...
View 1 Replies
Jun 28, 2009
this is probably easier than I think it is.I would like a client-to-client messenging system without using Winsock if possible. At the moment an IP based connection system would be okay.
View 8 Replies
Jun 15, 2010
Can't find any free ones so thought I would work on one on my own for the heck of the learning experience with TCP stuff.I'm about ready to start on the messaging aspect of it.The biggest thing I'm wondering about is figuring out when people are online.I'm not too sure how the whole thing works.Say I turn on my messenger. Would my messenger just send a message to all IPs on a certain port to say I'm online and then wait for a message back from the IPs that can return messages and then figure out who is online that way?
View 13 Replies
Oct 10, 2009
I want just a code that calculate and show the traffic (volume) of sending and receiving to/from internet?for example, IE is opening a page and IDM is downloading a file ; NOW , how many bytes has been sent / received
View 5 Replies
May 12, 2012
I want just a code that calculate and show the traffic (volume) of sending and receiving to/from internet?
for example, IE is opening a page and IDM is downloading a file ; NOW , how many bytes has been sent / received?
View 2 Replies
May 15, 2012
I don't know what I've done bad, or what could have caused this bug : when I submit this form to the controller, the controller receives 2 empty fields here is the form inside the view :
@Using Html.BeginForm("contactSearch", "search", FormMethod.Post)
@Html.TextBox("SearchString")
@Html.DropDownList("opportunite", "Choisissez une opportunité")
@<input type="submit" value="Submit!" />
End Using
[Code]...
View 2 Replies
Mar 9, 2011
I built a server to receive data from clients.But how can I know the length of every data package.
Dim bteAcceptData(1024) As Byte
Dim myAsyncCallBack As New AsyncCallback(AddressOf ReceiveData)
intByte = EndSocket.EndReceive(pIAsyncResult)
[Code].....
View 2 Replies
Mar 3, 2010
i have been trying to register VB08 express for over an hour and have not recieved the verification email yet. has this happened to anyone yet? I tried multiple email addresses, checked junk folder...refreshed, sign out...etc.
View 2 Replies
Nov 1, 2011
I'm successfully receiving bytes from an USB device using a HID USB .net library.Here is a sample of my code :
Dim ptr As IntPtr = USB.USB_Read()
Dim buff As Byte() = New Byte(USB.USB_ReadLength() - 1) {}
[code].....
My question is : how can I know wich button is pressed ? Meaning : I just want my program to store the button pressed and do an action when pressed.
View 1 Replies
Jun 23, 2011
How to measure the number of bytes sent and received while using the internet from VB.NET 2010 ?
View 1 Replies
Nov 12, 2009
I'm not having any errors from these pieces of code, they're just empty everytime. I'm wondering if I perhaps have created them incorrectly.
Dim l As New Log()
l.Log = "Attempted staff login with username [" & txtUsername.Text & "]"
l.LogId = 0
l.StaffId = 4
l.LogDate = Date.Now()
l.Insert()
.Insert() is picked up in my BLL layer by these two functions;
[Code] ......
View 2 Replies
Aug 2, 2010
I've been using some code which I found on the net, and have noticed that the first byte is never recieved. Annoyingly, this contains the MAC addresses, which is the bit I want. Below is the relevant snippits:
Public Sub [Start]()
If m_Socket Is Nothing Then
Try
[Code].....
View 5 Replies
Jul 7, 2010
Could someone help me to get a prompt.received to trigger, the example I was given was:[code]My connections work now but the prompt receive event isn't being triggered.I am connecting to cisco switches, routers, riverbed devices and an occasional server, this regex example doesn't appear to work and I'm not sure what the problem is. Tried a few variations but I need help. This is how the prompts would look:The var Hostname will always be in the beginning of the prompt except servers. I need to have the hostname part of the required prompt for everything else. If it's any easier I can use 4 separate prompts one for Routers, one for Switches, one for Riverbeds and one for Servers.These are what my hostnames would typically look like:[code]Is there one regex variation I can use for all that might work. Also I have catagories for these devices, i.e. for hybrid switches that have an (enable) in the prompt; CAT. For routers and native switches that have a # after the hostname, IOS.
View 6 Replies
May 25, 2010
I am attempting to post xml to an affiliate and am having some issues. The affiliate will only accept the xml as a string in the name-value pair called "XML" on a classic asp page.
Here is the code file I have, which works fine and gets the response "Invalid XML". I.T. on the other end explained to me that is the message that gets echoed if they get no data on their end from this one statement: XML = Request("xml")
I cant see anything here which would make me think nothing is getting transmitted.
Dim uri As New Uri("http://www.affiliatesite.com?xml=")
Dim packet As XmlDocument = New XmlDocument
packet.Load(Server.MapPath("../XML/TestDoc.xml"))
packet.GetElementsByTagName("id")(0).innerXml = "123"
[Code].....
View 1 Replies
Apr 7, 2012
I am constantly receiving 2 lines of data via my serial port, example:
GPRMC, 151243.000 , A, 3723.2475, N, 10354.0208,E,1.26, 290.95, 9.0,,,A*67
GPGGA, 151244.000, 0122.4098, N, 10354.0212, E, 1, 04, 2.1, 71.4, M, 4.3, M,,0000*5F
Apart from the starting 5 alphabets which is the message ID, the other numbers are constantly changing every second. I wish to pick out specific values from these GPRMC and GPGGA and constantly update their respective text boxes, how do I go about doing that?
The 4th, 6th & 8th values of the GPRMC message (in this case '3723.2475' 10354.0208' and '1.26')The 10th value of the GPGGA message (in this case that value is '71.4')
View 1 Replies
Jun 13, 2011
how can i split the recieved data to my vb.net application and then save it, so for example whatever starts with e must be appended to a textfile and whatever starts with a must be display in the label.[URL]..
View 4 Replies