|
Then read related documentation, for instance, see the following example [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Hi All
I Want To Know Wath Is HOOK.
And Wath Is Usage Of This.
Tanks All.
Mogtabam
|
|
|
|
|
Mogtabam wrote: I Want To Know Wath Is HOOK.
And Wath Is Usage Of This.
...Then read the documentation [^]
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Hi,i need one more help,
i have 2 drop down list box, in that one i am display year
another one display month,
when i am selecting the year and month,
i want to know how many days on that month like,
plz anyone can help me.........,
i need that code........
Regards,
Magi
|
|
|
|
|
you can use DateTime.DaysInMonth
|
|
|
|
|
hello everyone
i want to convert a string which contain a date value into the date (my string value came from a msflexgrid) and i want to show in the datetimepicker in dd/mm/yyyy format
does any one help me
i need answer immediately
plz help me
|
|
|
|
|
i think same problem has been asked two days ago......
and solutions were given
go to 66th message of this forum only..
|
|
|
|
|
hi manni
this solutions not work properly.
|
|
|
|
|
gust pass ur flexgrid value beore the given string
(msflexgrid ).ToString("dd/MM/yyyy")
|
|
|
|
|
I need to have a column that should display a combobox. However the contents of the combobox are not always the same, they depend on the value of another cell. So I want is that when the cellEnter event of the column in question fires, the combobox appears on the current cell and its contents depend on the cell to the left. When the cellLeave event of the same column fires, the combobox disappears and the cell now is just a text cell with the contents of the selected item from the combobox. When the cellEnter event in the Column in question fires and the cell is not empty, the combobox should appear and the text selected from the items list
Thanking You
somasundaram G
|
|
|
|
|
There are lots of great samples of how to manipulate the DataGrid here:
http://www.syncfusion.com/FAQ/winforms/default.aspx#44[^]
But look real closely at example 5.9. In there it talks about creating the combobox and filling it with data. Do you want the data in the combobox to be bound or unbound?
Dean
|
|
|
|
|
Hi
Would anyone be help to help me here.
I'm trying to open an outlook window with the following code
"mailto:accountsclerk@mydds.co.a?subject=Invoice Johannesburg&body=Dear x
Please find attached the invoice for 09-00-2007.
Kind regards, y &attach=C:\Document.pdf"
but the body doesn't show the vbcrlf (after the x and after the date) once outlook opens.
and the attachment doesn't appear (the file is on my computer) so I have no idea why this happens - can anyone help?
|
|
|
|
|
How to deploy a VB.NET application.
thank u
|
|
|
|
|
its simple...
iam tellin you the whole prcedure jsy follow it..
1. add new project
2. setup and deployment project -> setup wizard.
3.ok
4.next
5.next
6.next
6. finish
7. right click on application folder and choose ' create shortcut to application folder
8. and give the name as deployment
9. DO THE SAME THING WITH USER'S DESKTOP AND USER'S PROGRAM MENU
10. now right click on application folder and select property window and set 'always create property' as true
11. same thing for other two
12. go to the solution explorer rihgt click on yr application and select build solution
u'll get your setupp in debug folder of setup
have a nice day
|
|
|
|
|
How to open serial port.. what r all the register used for Rs232..
give me the code to interface
|
|
|
|
|
Have a look at this [^]
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
hi,
i want ask if i can have a bar for my application placed on task bar as norton bar or traditional language bar. this trick will be nice if it added to the application.
thanks in advance for any help
|
|
|
|
|
I am trying to use window media player in my dot net application. Iam able to add it in my application but not able to play the files through it I am using the following code for that-
dim str as string
str="c:\abc.mp3"
AxWindowsMediaPlayer1.URL = str
AxWindowsMediaPlayer1.Width = Me.centerbox.Width - 200
AxWindowsMediaPlayer1.Height = Me.centerbox.Height - 100
AxWindowsMediaPlayer1.Visible = True
it should play the file abc.mp3 . but it is not playing can any one help me please??
|
|
|
|
|
Using com1 As IO.Ports.SerialPort = My.Computer.Ports.OpenSerialPort("COM1")
com1.DtrEnable = True
Dim val As String = com1.ReadLine()
If val Is Nothing Then
MessageBox.Show("No Data Received")
Else
MessageBox.Show(val)
End If
end using
Problem: when i call "com1.ReadLine()" method the application become stuck and it gives no answer
plz reply me soon that what can i do further
Regards,
Yasir Riaz
|
|
|
|
|
It's waiting for information which is why your program hangs. You need to set the ReadTimeout. When it times out readline throws an error so be sure to wrap that statement in a try catch block.
|
|
|
|
|
Hi All,
I am using DataGrid view with Combobox and TextBox .....
so Iam initially using Combobox Values getting from database and select the combobox value and I Enter key pressed..but has to assiging the combobox value in Datagrid....
Pls tell me the coding part for assigning in DataGrid...and next cell using Textbox ...
and if i Enter key pressed ..but automatically textbox has to come and also Datagrid column has to come... pls tell me the related Coding part.......Pls help me ....advanced thanks....
Thanking you
somasundaram
|
|
|
|
|
Can anybody tell where I can download SqlHelper class (SqlHelper.vb)
for using in my application...
Thanks and regards,
cst...
dfdf
|
|
|
|
|
Hi frnds
i want to do in Grid that when i select the particular row at that time all the record of that selected row's information will display on the form.
|
|
|
|
|
Hi Guys
I was wondering if someone could help me figure out what I need to do to get this function to perform properly
Let me explain what I am doing.
I have an updating app to update a different app.
Since it is critical for internet connection to be valid I made a function to do the check. And not like microsoft and other boards suggest because that really only tells you you have a connection but not that you can actually communicate. For example I could change my IP address on my nic and not be able to browse yet it still says I'm connected.
So my function startecd off as a simple My.computer.network.ping
That was working great until I realized when I was at my friends house that some isp's block the ICMP request even though the connection is valid.
So I said ok I am going to change the ping to a lookup routine for a domain and if its address length=3 which means it found it then internet is available.
Now that works great in both situations where icmp is available or not except the delay in the check is slower than a straight ping request.
So what I was trying to do next was to first try the ping and if it didnt work try the nslookup and then return a value. It seems to be working but it seems to hang my machine.
I think I'm looped wrong or something. For example I have an animated gif on my main form that when it runs the function in dual mode moves at a snails pace. When I use either ping or nslookup alone it functions fine.
Do I need a background worker or something.
I'm sorry I am very new to programming and don't really even understand how to use background workers or if thats what I even need.
Maybe I just need to reorder my function.
In either case I will post my function code. If this info isn't sufficient I will add anything you need.
Thank you in advance
Tony
Private Function isConnected() As String
Try
If Not My.Computer.Network.Ping("www.google.com") Then GoTo TryNext
TryNext:
Dim AddressLength As IPHostEntry
AddressLength = System.Net.Dns.GetHostEntry("google.com")
If AddressLength.AddressList.Length.Equals(3) Then
'The above three lines works better then this in case icmp is unavailable
'If My.Computer.Network.Ping("www.google.com") Then
m_isNetConnected = "Available"
Return m_isNetConnected
Else
m_isNetConnected = "Unavailable"
Return m_isNetConnected
End If
Catch Except As System.Net.Sockets.SocketException
m_isNetConnected = "Unavailable"
Return m_isNetConnected
Catch Except As InvalidOperationException
m_isNetConnected = "Unavailable"
Return m_isNetConnected
End Try
End Function
|
|
|
|
|
Im sorry I forgot to add that this function is rechecked repeatedly by a timer so that it shows u if you are connected in realtime.
Thanks again
|
|
|
|