|
what is meant by "with constructor"?
|
|
|
|
|
what do you mean exactly
a constructor is the methode that is called when you initialize a form or a object
a constructor is always in the following format
public sub new()
initializecomponent() ' only on a form and in every constructor
end sub
you can ad variabels between the ( and ) of the new
you can also ad serveral constructors to 1 object or form
hope this helps
|
|
|
|
|
I know that what is a constructor. but i want to know "with constructor" which is present in only vb.net but not in c#
|
|
|
|
|
|
You asked this question twice in this forum.
______________________
stuff + cats = awesome
|
|
|
|
|
hello frnds,
how can i share a directory (Folder) using vb 6.0
if any one have code sample then plzz give...help
thankx in advance,
-koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
THis is not exactly a straight forward operation in VB6. Find out here[^].
|
|
|
|
|
Hello All,
In c:/inetpub/mailroot we have a folder called BAD mail.
I can send email in vb.net using SMTP object,
if mail is not delivered then server puts a NDR in BAD mail folder.
so i want to know, how to read the NDR in BAD mail folder programmatically
in vb.net.
regards,
Ashwin Gupta
AshwinGupta
|
|
|
|
|
hi can anyone help with the coding to create a bar code reader using vb.net
|
|
|
|
|
|
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
|
|
|
|