|
|
thank you lotss
saraswathy
|
|
|
|
|
I want to invisibly control webbrowser control iwebbrowser2 in form
How to send a click to webbrowser control iwebbrowser2 control it clicks ok on simple html but if there is iframe or frame then it does not click on it
Any suggestions?
I don’t want to click by parsing html code body.outerhtml, tagname ("A").click
Private Sub Command2_Click()
Dim lHandle As Long
lHandle = GetHandle(ie)
MsgBox lHandle
SendClick lHandle, Val(Text2.Text), Val(Text3.Text)
End Sub
Public Sub SendClick(lnghWND As Long, X As Long, Y As Long)
Dim lngResult As Long
Dim lnglParam As Long
lnglParam = (Y * &H10000) + X
lngResult = SendMessage(lnghWND, WM_LBUTTONDOWN, 0&, ByVal lnglParam)
lngResult = SendMessage(lnghWND, WM_LBUTTONUP, 0&, ByVal lnglParam)
txtlog.Text = lnghWND & " " & X & " " & Y & vbCrLf & txtlog.Text
End Sub
|
|
|
|
|
My idea is to control IE instance by software
I want to solve my problems in two ways
First one is by controlling IE by mouse_event with cursorpos but not with sendmesage or postmessage API.
I want to invisibly control IE instance and click on it where I want to by sending mouse_event, but without user notice, is there any chance?
Is it possible to control IE for example in background while PC is idle and screensaver works?
Or perhaps when PC is idle detect it and show JPEG screenshot and work with mouse_event on background, so to call behind the scene?
Or perhaps in parallel user mode FAST USER SWITCH terminal service?
I don’t want to click by parsing html code body.outerhtml, tagname ("A").click
Any suggestions or any ideas with technical details?
IE Controller source code here http://fresh-news.info/update/iecontrol.rar
|
|
|
|
|
eugeugeug123 wrote: First one is by controlling IE by mouse_event with cursorpos but not with sendmesage or postmessage API.
I want to invisibly control IE instance and click on it where I want to by sending mouse_event, but without user notice, is there any chance?
No. You have no choice but to use mouse messages and the SendMessage API call.
This is a really bad idea. Trying to control another piece of software by pushing keyboard and mouse messages is notoriously unreliable, no matter what you do to implement the "control" method.
What are you doing with this that can't be done with the web request classes? What's the ultimate goal of "controlling IE"?
|
|
|
|
|
Hi!
I have a cuestion, i working in a application who must open a port to tcp comunication, i haven't any problem except if the windows xp firewall are activate, he jump and show a alert, is posible shutdown the firewall by code to what no lock my port?, thanks very much for your help.
|
|
|
|
|
Can you shut it down? No. It wouldn't be much of a firewall if any piece of software could just shutdown the firewall whenever it wanted, now would it? You can add your application and the ports it listens to the firewall using the Firewall API. The documentation is found here[^]. There is no support built into the .NET Framework, so you'll have to P/Invoke the API calls.
The Windows XP Firewall doesn't block outgoing connections, only incomming.
|
|
|
|
|
I want development a application who must open a port, this port is listening connections to show messages from administrator (remote pc), i as administrator send a message (similar to net send command) to each user such as a chat system to notify any thing.
But, i must open a port in user pc and send message from my computer (administrator), ok, i guest the home page send to me, thanks.
|
|
|
|
|
Now I know in ASP.Net with a DropDownList you can bind to 2 values, one that is displayed and one that is the actual value, is there a way to do this with a ComboBox in a Windows Application in Vb.Net?
"Well yes, it is an Integer, but it's a metrosexual Integer. For all we know, under all that hair gel it could be a Boolean."
Tom Welch
|
|
|
|
|
Resolved this question
"Well yes, it is an Integer, but it's a metrosexual Integer. For all we know, under all that hair gel it could be a Boolean."
Tom Welch
|
|
|
|
|
Hi all
I am trying to from my laptop run a program that would tell me who is currently logged into a windows 2003 Ts farm
It would be similar to the program Tsadmin.exe
does anyone have any idea if there is a way to do this via an API or in the .net framework?
Thanks
crash
|
|
|
|
|
Hi,
I have a question, how can I display the video in input to my asus VIVO card with VB.NET building a Dialog Box application?
|
|
|
|
|
Hi,
I'm developing a webservice which reads data from a database and exports to a excel sheet. This applciation works if i have MS Office installed in my system . Since i'm unable to install MS Office in teh server is there any alternate way to program this.
Thanks in advance
Priya
|
|
|
|
|
Hi
XML files could be a option to export files to xls format, of course, these files are not excel format, but if you only want export your tables i believe about they are util to you.
Example: you have this columns in excel
Column1 Column2
Data1 Line1
Data2 Line2
Data3 Line3
In xml you can generate file (text plain file) some this and open in excel and work
<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns ="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40">
<Styles>
<Style ss:ID="Default" ss:Name="Normal">
<Alignment ss:Vertical="Bottom"/>
<Borders/>
<Font/>
<Interior/>
<NumberFormat/>
< Protection/>
</Style>
<Style ss:ID="s21">
<Font x:Family="Swiss" ss:Bold="1"/>
</Style>
</Styles>
<Worksheet ss:Name="Sheet1">
<Table ss:ExpandedColumnCount="2" ss:ExpandedRowCount="4" x:FullColumns="1" x:FullRows="1" ss:DefaultColumnWidth="63.36" ss:DefaultRowHeight="12.959999999999999">
<Row>
<Cell ss:StyleID="s21"> <Data ss:Type="String"> Column1</Data> </Cell>
<Cell ss:StyleID="s21"> <Data ss:Type="String"> Column2</Data> </Cell>
</Row>
<Row>
<Cell> <Data ss:Type="String"> Data1</Data> </Cell>
<Cell> <Data ss:Type="String"> Line1</Data> </Cell>
</Row>
<Row>
<Cell> <Data ss:Type="String"> Data2</Data> </Cell>
<Cell> <Data ss:Type="String"> Line2</Data> </Cell>
</Row>
<Row>
<Cell> <Data ss:Type="String"> Data3</Data> </Cell>
<Cell> <Data ss:Type="String"> Line3</Data> </Cell>
</Row>
</Table>
</Worksheet>
</Workbook>
|
|
|
|
|
where can i get this dll? someone knows?
its because i cant compile nexIRC 3.0 alpha 6 found in Planet Source Code.
cheers
|
|
|
|
|
Hello,
I would like to create a patch for my program. I have a simple window app for testing. Using VB 2005. I have created the application and then added the MSI basic project.
I then went to the project assistant and added the default settings. The project built, installed, and ran ok.
Now I have made some changes to my windows application. And I want to create a patch, not sure now to do this.
I have tried using the quick patch project and the design patch configuration. I am able to create the patch and install it, but it doesn't update the windows application to show the new changes.
Once I have my patch working, should I be able to give the patch.exe to the customer, and they should be able to install it without having to uninstall? The patch should be very small as it is just a few simple changes.
Many thanks for any help you can give me,
Steve
|
|
|
|
|
Your best source of information on using InstallShield is going to MacroVision[^].
|
|
|
|
|
I want to be able to click on an item in a ListBox, then using the AfterUpdate() Sub-routine, be able to store that value into a String variable. My loop is as follows:
***START***
Dim iterator As Long
Dim descriptionString As String
For iterator = 0 to Descriptions_lst.ListCount - 1
If Descriptions_lst.Selected(iterator) Then
descriptionName = Descriptions_lst.Column(0, iterator)
End if
Next iterator
***END***
I'm not exactly sure what the 'Column' does, but apparently this is supposed to get the string value from the selected ListBox item. However, it is not working. I just get empty values for my descriptionName variable. Any ideas?
-- modified at 10:04 Thursday 14th June, 2007
|
|
|
|
|
I only find the ListCount and Selected properties in the Office classes. Is this VBA?
---
single minded; short sighted; long gone;
|
|
|
|
|
Ya, its VBA using Access. I need to somehow verify that 'if' statement properly, then get the selected item into a String variable.
|
|
|
|
|
Hi all,
How could i change text on button in MessageBox?
Ex : If i write :
MessageBox.Show("How to change text","Question",MessageBoxButtons.OKCancel)
-> MessageBox will be shown with "OK" and "Cancel" button. But i want to change text "OK" -> "That's right" and "Cancel" -> "That's not right".
How could i do that?
|
|
|
|
|
You can't. The things you see in a MessageBox are not cusomtizable. You'll have to create your own form class that provides this functionality. It's not that hard. It's just a normal form with a couple of buttons and a label. Maybe even a picturebox if you want.
|
|
|
|
|
hellllo ctlqt,
Dave is correct "The things you see in a MessageBox are not cusomtizable"
U can use
form.showDialog() method to show ModelDialog,
just create a form looklike message box and call it as modelDialog box
regards,
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
i have a label and textbox.
right now i have 75 labels and corresponding textboxes.
i have done their connectivities with database.
after deploying it suppose i want 100 textboxes.
or rather i want to leave this on user that how much labels and textboxes he want.
for that a window wil be there and user will enter the name for label and its value..
but how label and textbox will be generated...?
and how will the database connectivity will be established.
i dont know how this can be done.
can anybody give me any idea , hw do i proceed...???
thanks.
|
|
|
|
|
To make the labels and textboxes you can use a for loop that dynamically creates them based on user input. For the db connectivity, what exactly are you looking for?
|
|
|
|