Modify The Code Obtained From The Internet Explorer_Server HWND Handle?
Aug 22, 2011code:
<span>Public Structure UUID
Public Data1 As Long
Public Data2 As Integer
Public Data3 As Integer
Private m_Data4() As Byte
[Code]...
code:
<span>Public Structure UUID
Public Data1 As Long
Public Data2 As Integer
Public Data3 As Integer
Private m_Data4() As Byte
[Code]...
how do get text from Internet Explorer_Server of Y!M Windows?? I Try but not work.
View 5 Repliesi can't find to another application controls handle and name. i searched to samples but i can't understand. How i write to API's for this.
i'm working to API declare and the some API functions. And i've got a right Main hWnd. But i can't get controls hWnd (button, textbox etc..).. ?
Example : FindWindowEx, AccessibleObjectFromPoint, AccessibleObjectFromEvent, AccessibleObjectFromWindow..
I have inserted the following code depicting a procedure that can place the cursor at a particular location within a Rich textbox. However, I am unable to get the Hwnd handle to run without an error.
Would someone advise if the SendMessage arguments are correct and how do I access the RichTexBox Hwnd window handle for this procedure.
[Code]...
I get the error "35750 unable to open internet handle" from a server running a Visual Basic 6 program using the Inet control to access a site. It used to work but now it stopped. What is causing this and how do I fix it?
View 2 RepliesI need to handle events that are thrown by Internet Explorer 8. I am able to handle events associated with the first tab that is created when IE8 launches, but I am unable to handle events if the user creates a new tab or opens a new window. I need to handle events of all tabs (and preferably all new windows as well) that are created by the instance of IE8 that is launched by my application.
[Code]...
Is it possible to modify or add code or module into a windows application after deployment?
View 5 RepliesI've seen this great example of serial communication in VB.NET[URL]..I try to use it in a project I am working on but somethings are not clear to me.1: Now the send and received data is shown in one RichTextBox but I would like to split this into two RichTextBoxes (RtbSend and RtbReceived).It is unclear to me how and were data is assigned to the RichTextBox?
2. the received data is shown in the Richtextbox as one long line, I would like to get a new line for every send message.So for example: I I send "test" four times, I would like to see:The example describes that "comPort_DataReceived" is executed when data is waiting in the buffer. Where can I see the eventhandler responsible for this? How does it know data is waiting?The problem is this kind of coding is a bit to difficult for me. I want to understand the code before I implement it into my project. I understand most of the code but this is unclear to me.
mostly the data inside the datatable is always typed by ourselves, while in this case, i want the computer itself do caculate or whatever and then input in this table and finally the chart will get the data inside the table and then draw the line automatically.is there any sample codes for me to know....(Above is just a simple idea, actually my project is to record the time spent in 2 status(working and idle) and then do the database table. but the GUI should look similar to the image above)
View 5 RepliesIs it possible? Self modifying codes based on users choices.
View 3 RepliesWhen debugging a program and then we take it to a line breakpoint,then I want to modify the code again.but could not and such message appears in the image which I attach.What can we edit code program at the time of the process of debugging.This can be done in visual basic 6 ide?
View 2 Replies[code]...
when the Internet it's ok,this code it's okay,too.but when the Internet it's not connect or the webside server it's so busy,it's going to error,it said "Webexpection it's not handle".what should I do?
How can I modify the below code to get a result as it is in the vb6 [code]...
View 9 RepliesLet say I have the following classes[code]...
If I wanted to say, alter the code definition of the automatic property X (at runtime, perhaps in Sub New), such that I could throw the PropertyChanged event
modify the VB6 code to VS 2008 for delete command?
View 11 RepliesI've written a for loop to generate several new text boxes and numericUpDowns when the application is run.
The text boxes / numericUpDowns are generated with a 2-dimensional array. My question is: How do I handle when the text boxes / numericUpDowns are modified?
If you would like the code, just request it and I'll add it here.
I have some problems with the SHA1 hash value of a string. I'm trying to send a file from a client written in VB.net to a server written in PHP. My problem is that when I pass the same string to VB.net and PHP, the SHA1 value calculated by VB.net is completely different from the value calculated by PHP.
For example, I want to encode a string in Base64 and then calculate the SHA1 Hash of the Base64 string. When the computer executes this task from the vb.net version and from the PHP version I get two different SHA1 values, even if apparently the Base64 encoded string is the same:
VB.net: 2E97A53B09C482A831540B532845BCAC79BFACCF
PHP: 350A2080264E2724D4BCBC521C35264D264A1DAF
I'm surely missing something, could you point me in the right direction and tell me what I'm doing wrong here?
[Code]...
SELECT COUNT(StudentId) FROM firstterm where class='Nursery'
SELECT percentage, StudentId FROM firstterm WHERE class= 'Nursery' ORDER BY percentage DESC
this shows result like this[code]...
now in the form i put the 2 text box and and the buttoni take the number 10003 and click the buttonnow in the another text box i need to show that what is the position of the id number 100003 from the above figer it is in the third position
how can i make it through the click button so the the result comes on the front
I got the below code from Deborah Kurata one of the msdn moderator on her webpage. Her code is to save the form size at runtime but i would like to modify it to save the buttons which i have dragged and drop. I tried to modify the code but i tend to when i put the Dim theButton = DirectCast(sender, Button) under the form load method. It put there cannot cast object. something like that.
Public Class Form1
Dim tm As New Timer
Dim Index As Integer = 0[code].................
SELECT ContactID, FirstName, LastName, Male, Female, Email, Address
FROM Contact
WHERE (FirstName LIKE @FirstName + '%')
The above query works and returns values on first names that begin with whatever item I type in a text box.
How can I modify that code to search for items containing specified characters instead of just searching for items that begin with the specified characters. I would still need to use a wildcard because it is a search field. see below for an example
For example can I query the FirstName column to display people who's name contain the letters "an" in that order a before n but anywhere within the word e.g.
- Anna
- Jane
- Samantha
This is my coding for displaying access database values to listbox. It is working but it displays the values without a space like this: (The columns are: ID, NName, gender, age)[code]....
View 6 RepliesI'm trying to pass a variable from a child form that contains a DataGridView, I'm calling a function to do the action, but I can not succeed alone function gets the value but does not alter the form's datagridview father, the code I'm using is:
Invoice_new (Parent FORM):
Controls:
DatagridView: invoice_items
Public WriteOnly Property ValueFromChild() As String
[Code]....
1) How do I use cookies obtained from login to do subsequent requests? e.g. Login to a forum, then use the cookie obtained from login to access User CP and change settings.
2) How do I parse HTML via HttpWebRequest? Does mshtml work with HttpWebRequest? If so, how do I work with it? I thought of downloading the source code of the page I'm requesting into a richtextbox and do my stuff from there, but it sounds kinda impractical to me since I have to use regex to get the innertext of stuff (or not?).
I still can't assign the process the username of the session id that is associated with it.[code]...
View 1 RepliesI have found this code in the internet and I try it but it has an error. Here is the code that I get from the internet:
[code...]
i convert some code from c# sample from internet and i try to convert it to vb.net. I had some difficulties to resolve some error after conversion.
Here's the code ;
CODE:
is it possible to add some VB.net code to handle all the errors in my application. (and not to go in each sub and add the on error intruction) I want to handle every error.
View 6 RepliesI am working on this project and I am getting confused. I have my basic Html editor. Now I am suppose to allow the user to load an HTML file(source code only from the internet, when the user selects this feature provide a textbox and button to enter the URL. I have no clue how to do this. I been looking online and I am not finding anything it is not in my book either .[code]...
View 5 RepliesI have been using the code below to tell if the computer has an internet connection. It works fine on my home computer but when I run it at work on our network which has internet, it fails. I can go to the sites I use below in my browser but when this is run in my app, it returns false. Any ideas why? Is there a better way i should be checking?
[Code]...
I have a webpage that needs to selectively show or hide a substantial number of controls. Each control's visibility is determined based on which of 3 conditions are true.So, for example, given the conditions A, B, and C;
Control1 needs to be visible only when A and B are true and C is false.
Control2 needs to be visible only when B and C are true and A is false.
Control3 needs to be visible only when A and C are true and it doesn't care what B is.
and so on...
If each control looked at every condition, the control logic would be ugly, but doable.
[Code]...