|
Is there a way in VS2005 to see all threads created? I want to see if I am creating new threads and not aborting them.
Never Mind I found Debbug --> Windows --> Threads
You have to start debugging first.
Thanks
|
|
|
|
|
|
I am using vb.net 3.5 as frontend
I have two forms, one is MDIMain and other is a modal form
When I open a form from a MDIForm as Showdialog(), there is two forms shows in the taskbar, one is MDI and other is Modal form.
That is the Problem. Because I want to open the modal form always top of the Mdi form. that means when MDI form shows then always show sthe modal form .
How can I solve the Problem?
|
|
|
|
|
pdnet wrote: When I open a form from a MDIForm as Showdialog(), there is two forms shows in the taskbar, one is MDI and other is Modal form.
That is the Problem
set Modal Form properties "ShowInTaskBar" to false
hope this helps
|
|
|
|
|
I have a datagridview with a comboboxcell.When I try to select an item in this column the mouse goes on the last item and I must find a way to make the mouse go on the first item.
For example: the items in my comboboxcell are: "Month","Day","Year".
The mouse goes on "Year" but I want the mouse to go on "Month".
Thanks.
|
|
|
|
|
Hi,
I m using label control on windows media player i wanna make the label
transperant for WMP
How can i do it??
Unless u don't give ur hundred percent whatever u r doing till there is no result of ur work...
|
|
|
|
|
Change the backcolor property of label control to transparent.
label1.backcolor=color.transparent
Hope, this will work..
By- Gagan
|
|
|
|
|
Thanks
But i already have tried it, the label become transperant for the form(Parent) not for the Windows Media Playe r....
I set the label's parent to WMP but nothing happened...
Unless u don't give ur hundred percent whatever u r doing till there is no result of ur work...
|
|
|
|
|
Do the same thing at run-time not at design time.
|
|
|
|
|
Transparent isn't. All Transparent does is tell the control to take on the background properties of it's parent container, which is the Form it's sitting in.
For a truely transparent control, you'll need to make a custom version of the label. Google for "vb.net transparent label" and you'll find a bunch of examples.
|
|
|
|
|
Hi there,
I'm stuck with a problem formatting a datetime value:
Dim thisdate As DateTime = #10/15/2005#
Me.Label1.Text = Format(thisdate, "mm/dd/yyyy").ToString
Returns 00/15/2005
setting the month to 00 instead of 10
I must be doing something wrong, for I don't find any mentioning of this problem.
I use VB.NET Visual Studio 2003
Any help is more then welcome !
|
|
|
|
|
Hi,
Try MM in place of mm in the format string, mm is for minutes.
Alan.
|
|
|
|
|
Thanks Alan,
It works like a dream, you saved me!
Kind regards,
Hans
|
|
|
|
|
Hi,
I'm currently using flowcentric and need to connect to SQL2005, I have tried all the examples in the manual that I have for flowcentric, but none of the are working.
Flowcentric uses vbscript (It's the first time I use vbscript), anyone that can give me a few pointers or an article or whatever there is for more info on this
Thanks in advance
modified on Friday, September 19, 2008 9:41 AM
|
|
|
|
|
Is there some reason why you're not asking Flowcentric this question?
|
|
|
|
|
Currently i am trying to communicate with me hardware using my CPU. i am not able to transmit and receive command to and from the hardware. I have been told that mscomm control and mswinsck.ocx might be able to do the job but i am new to both library. Can anyone advice wat to do??
|
|
|
|
|
You'll have to be more specific. What kind of hardware?
|
|
|
|
|
Hi all,
I am developing one application in that I stored data in database.It contains more data approximately in lacks. I want to retrieve these data from database using data reader and bind it to list view at a time. I am displaying those data but it is not coming at a time.
Please anyone have any idea help me.
Thanks in advance
pavani
|
|
|
|
|
I have no clue what you're really getting at, so I'll take a guess as to what you mean:
You're trying to bind a set of 1,000,000+ records to a ListView. The solution is simple. Don't. Why would the user want to scroll through that many records?? Use some kind of filtering on the data to reduce the number of records returned or some other method of organizing the data. There's just no way any user is going to put up with a control containing that many records.
|
|
|
|
|
I want to Get the IP address of my machine using the Windows API in .NET(Windows Application).
Api's should support Ipv4 and Ipv6 format.
Microsoft Visual Studio .NET 2005(Windows Application), 2005
MOOSASAHIB
|
|
|
|
|
How To Get IP Address Of A Machine[^]
I don't think there are separate ways for ipv4 and ipv6. If the computer has ipv4, you'll get an ipv4 address. If ipv6 is enabled, you'll get an ipv6 address (::1).
|
|
|
|
|
#1 (permalink) Add to desperateboy's Reputation Report Post
Old Today, 1:09 PM
desperateboy desperateboy is online now
VB.NET Forum Newbie
.NET Framework: .NET 1.1 (VS 2003)
Join Date: Dec 2007
Posts: 20
Reputation: 12
desperateboy is on a distinguished programming path ahead
Default Insertion problem in database
hi friends,
I have added 3 buttons of name add,save and delete.When add username in the database first heck out that already exist or not.If not existed then insert into database.I trying using this code
Plz help to sort it out.
Try
dim str1 as string
str1 = txtusr.Text
conn.Open()
cmd = New SqlCommand("select * from usrs where uname='" & (str1) & "'", conn)
dr = cmd.ExecuteReader
While dr.Read()
str = dr.Item("uname")
If str <> Trim(str1) Then
usrexist()
Exit Sub
Else
Dim sYN As String
sYN = MsgBox("User Already Exists, Want to Update", vbYesNo + vbQuestion, "Update User")
If sYN = vbYes Then
'' update in the database''
End If
End While
Catch ex As Exception
MsgBox(ex.Message)
Finally
cmd = Nothing
conn.Close()
dr.Close()
End Try
|
|
|
|
|
lahsiv wrote: #1 (permalink) Add to desperateboy's Reputation Report Post
Old Today, 1:09 PM
desperateboy desperateboy is online now
VB.NET Forum Newbie
.NET Framework: .NET 1.1 (VS 2003)
Join Date: Dec 2007
Posts: 20
Reputation: 12
desperateboy is on a distinguished programming path ahead
Default Insertion problem in database
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Copy / paste from a posting on a different site
|
|
|
|
|