|
harshcontractor wrote: how to connect sql server 2000 in window service in vb.net
The same way you would anywhere else. With a SqlConnection .
|
|
|
|
|
thanks
but my problem was : to connect with sql server in network (not local).
sql 2005 supports this.
Harsh
|
|
|
|
|
shhhhhhhhhhhhhhhhh wrote: to connect with sql server in network (not local).
Yes. You still connect with a SqlConnection object. Use the machine name, or IP address in the connection string instead of "(local)"
shhhhhhhhhhhhhhhhh wrote: sql 2005 supports this
Yes.
|
|
|
|
|
:(hallo everyone,
i got following error in my vb.net(winforms) application while i m trying for removing specified row.
-->Uncommitted new row cannot be deleted.
I wrote following code to delete datagridview(DGVCustDept) row
DGVCustDept.AllowUserToDeleteRows = True
DGVCustDept.Rows.Remove(DGVCustDept.Rows(1))
thanx for any help in advance
priya
|
|
|
|
|
pls find this url it's already dicussed....
www.codeproject.com/cs/database/dttl.asp
Parwej Back...............DON of Developer.......
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
Hi,
Im using vb.net as a front end and oracle as a back end,have to compare the two database object type and object name if its available means i need as true else false and should be entered in the isavail column...
Eg..
obj_type obj_name isavail
------------ --------------- ---------
package package_name
index Index_name
like wise im having in the datagrid,then im selecting
adp=new oledbdataadapter("select object_type,object_name from user_objects",con)
adp.fill(ds)
how to i compare these selected user objects to that datagrid available objects_type and object _name and is it available means i need to fill yes in the isavail column in the datagrid else no..
Help me plzzz..
Thks in adv...
Kannabiran.
Kannabiran..
|
|
|
|
|
Hi,
I need to rotate the 'A' button control by angle degrees at runtime. On click another 'B' button 'A' button should be rotated clockwise.
Is there any way to do this?
Rams
Be simple and Be sample.
|
|
|
|
|
No
You can pretend to rotate by 90% increments, that's about it, unless you use WPF, or do some funky owner drawing to fake it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Could you give me more details about using owner drawing graphics with all even handlings (like onclick, mousedown etc.) to rotate.
-- modified at 0:56 Tuesday 6th February, 2007
Be simple and Be sample.
|
|
|
|
|
If you owner draw, you'd still have a rectangular button, but you'd draw the odd shaped button on it, and you'd have to handle all events to reject them if you were on the button, but not on the drawn area.
Just look at any article on round buttons, or other irregular shaped buttons, that's what yuo need to do.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I have drawn shape over button using graphicspath region and while make it rotate, shape moves within button control, but not the control itself, so the shape will be hided once it cross the button area.
Let me have any link on how to draw shape over button control and make it rotatable using angles.
Thanks in advance.
Be simple and Be sample.
|
|
|
|
|
That's all you can do. You can't change that a button is rectangular, if you rotate it, you need to resize it to allow for this. Like I said, really, what you want can't be done, outside WPF.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I had to create a rotating control like this. I had to create a custom user control and paint a graphic of the control on it, then rotate the control image. The user control has to be big enough to rotate your image all the way around (or as far as you want) but that's okay because you need that space on your form anyway.
|
|
|
|
|
What is the easiest way to Read a DataTable with a list of tables
from OLEDB Using VB.Net
Thanking you
Somasundaram
|
|
|
|
|
A better method is to use the bindingsource and set the filer. e.g.
BindingSource1.Filter = string.format("{0} LIKE '{1}%'",me.cboSearchText.Text,me.txtSearch.text)
This should be in the text changed event of the text box.
--Steve
hii ,
good code from steve,
but will u thell Please, wht is cboSearchText?
& wht more i have to write for bindingSource?
Thanx.
--Regards Priya
priya
priya
|
|
|
|
|
how do i attach barcode in vb access project
|
|
|
|
|
Attach a barcode to what ? Do you want to scan barcodes ? Do you want to create them ? Store them in Access ?
VB6, or VB.NET ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
hi
any barcode It must include the file TEXT when to Install barcode Driver
In case of any reading of the write to this file
found it to get your value
Ahmed El-Badry
|
|
|
|
|
can anyone please give me some coding on how 2 make a button that produces sound when pressed (most probably from a file of the recorded sound-whatever format it might be-.mp3,.wav,etc) and is saved into database?--and how to play that saved sound from the database?
i'm using visual basic.net 2003, ms SQL server, ms Access
Thanks in advance!!
i don't know if there are related posts like mine but if there is please let me know and please insert the link too....thanx
|
|
|
|
|
vb.net 2005 has a sound API. VB2003 requires you p/invoke PlaySound to play a wav, or use Windows Media Player or DirectShow to play sounds in different formats.
The button is irrelevant, you'll play the sound in a click event, but it will be no differerent to if you played it on some other event
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
thanx for d info, but actually the button I had in mind was something like a piano key that produces sound when pressed...
I might want to have a few of those, each playing a different note, (like button A would play file A)---i have a few files for each note already.I just don't know d coding to play those file in the event button A is pressed.
The nex thing is, once i've pressed buttons A, B and C in sequence, i want it to be saved into the database---and i would like to play d saved sequence from database.So, can any kind soul out there please show me d codings??
Thanx!!
|
|
|
|
|
Dear Sir or Madam:
Could you please tell me how to drag some selections from different sources, such as textbox, listbox, treeview as well as webbrowser, etc. to drop onto a webbrowser target?
My programming environment are: vb 2005, .net 2.0 and windows application.
What I know is: for .net 2.0, there are dragover, dragleave, dragenter, dragdrop, givefeedback as well as querycontinuedrag events and some relatively methods for most controls to fulfill drag and drop operation. But for webbrowser control, .net only provides Drag、DragOver、DragLeave、DragEnd, these four events, not directly for webbrowser itself, neither for HtmlDocument, but for HtmlElement, and even bad, as my tested, for webbrowser target, there are only two events DragOver、DragLeave can be used. So my problems are:
1. Can one only use these two events to finish the drop onto the webbrowser target?
2. If one could, use which event to get the data and which one to know the element to drop onto?
3. If there are other events for the drop of webbrowser target?
It is very appreciate for your kindness help.
Lingyong He, from China
|
|
|
|
|
How can write program for mobile with vb.net?
|
|
|
|
|
|
Hello
how can i show some picture with thier gray values only?
when i want to set the pixel color i just have the setpixel function
is there any other way?
|
|
|
|