|
please give me sample code by which i can add check boxes to each cell of a particular column of a datagrid.
tbhattacharjee
|
|
|
|
|
http://www.asp.net/Tutorials/quickstart.aspx
|
|
|
|
|
say suppose in my form there is a button control and i want to drag that button and drop any where on that particular form. how could i implement this by vb.net. please help me and give the sample code.
tbhattacharjee
|
|
|
|
|
please tell me how to merge two or more datasets and tel me the situation when merging dataset is required. please help me and give the sample code.
tbhattacharjee
|
|
|
|
|
dataset.merge() It is usually used to synch a data set on the client with updated data from the db server. For instance I download the customers I am browsing and updating, I save to the dbserver. Others may be doing the same. You pull down new data from the dbserver and merge it with what you allready have on the client.
There are other instances but I think this is the most common.
|
|
|
|
|
In my vb.net project there is one form and a notify icon control and one context me attached with notify icon control.
I tried to develop a project like when I will run application then form will be invisible but notify icon will be there in
System tray and when i will right click on notify icon the context menu will have two options like open and exit. When select open option then my form will be visible but I wrote all code properly but my form is still visible and notify icon is working properly. to make my form invisible I wrote me.visible=false in form load event despite that it is not working and my form is visible and I again wrote me.visible=false and me.hide in form constructor but still it is visible. so please tell me what wrong in my code, if there is anything wrong the tell me or if you know some other tricks to do it then please tell and if possible provide sample code.
tbhattacharjee
|
|
|
|
|
Please tell me how could I pass to dataset to crystal report. tell me all the steps in detail from report creation to coding and I don’t want to work with any data control rather i would like to write code for connection, adapter, dataset instead.
Please give me sample code with full explanation if possible.
tbhattacharjee
|
|
|
|
|
Hi,
I need to get the source code in a string of a web page displayed in web browser control.
I am looking for methods of Web browser control and also for document object of DOM but couldnt find any.
Highly appreciated if any help provided
|
|
|
|
|
In vb6 we could create Templates so that we could double click on it and we would have our form with all our code already there.
I dont know much about visual inheritance but in vb.net
I have form that i use allover the place logo, a toolbar (add-edit-delete buttons)
btnOk and Cancel and all the generic code behind it.
My question
Is it possible to create a template in vb.net so that we I create a new project a could choose
that MyFormTemplate or
if it's possible to do with visual inheritance.Would i inherit the code as well and then customize depending
on the functionality?
Thanks
Thanks A lot
vbnetuk@yahoo.co.uk
|
|
|
|
|
Well, I've never done it, but you might want to try starting here[^].
RageInTheMachine9532
|
|
|
|
|
Thanks
I will have a read
Thanks A lot
vbnetuk@yahoo.co.uk
|
|
|
|
|
Hi,
I am using this property of web browser control
ie.Document.Script.Document.Write "Text"
and it is giving me this error.
Run-time Error '-2147467259(80004005)':
Automation error
unspecified error
and in debug window it shows
"Object doesn't support this action"
--------------------------------------------------
Should I have to do some task for enabling automation. ???
|
|
|
|
|
Document.Write needs a document to write on. Does the browser control display document? If you don't want to change an existing document, I suggest you look for a method "Document.Open". In JavaScript window.document.open() opens an empty document.
|
|
|
|
|
Ok, MailSlots are time consuming. What IPC methods are available that are common between these two languages?
Marcus
|
|
|
|
|
Are you using VB/VC++ 6.0, or .NET, or a mix of both?
RageInTheMachine9532
|
|
|
|
|
This is a .NET development.
Marcus Junod
|
|
|
|
|
In that case, you might want to start here[^]!
RageInTheMachine9532
|
|
|
|
|
Is it possible to utilize MailSlot interprocess communications in Visual Basic? If so, how do I do it?
Marcus
|
|
|
|
|
It is probably possible, but the documention on it is written for C++. That can be found here[^]. There is no class in the .NET Framework that wraps the MailSlot protocol, so you either have to find a thrid party control or library to do it for you or write your own from scratch.
Entirely possible in VB.NET, but a bit time consuming...
RageInTheMachine9532
|
|
|
|
|
Hi everyone i don't know what happend on this code. I every help page or site, them tell the same code, but in my machine is not working.
Please help me on that.
The msg error is " An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll "
And the line error is " myReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection) "
Please i need that as soon as possible.
Thank
Johnny Lizardo
Johnny Lizardo
|
|
|
|
|
We need to know a bit more, like what the rest of the myCommand object is setup with and what the connection object looks like. It would appear that the rest of the command object is not setup with a SELECT statement that is compatible with the ExecuteReader method. Also, how is myReader declared?
RageInTheMachine9532
|
|
|
|
|
Imports System.Data.SqlClient
Module SQL
Public sqlSelect As String
Public myConnection As New SqlConnection()
Public myReader As SqlDataReader
myConnection.ConnectionString = "data source=JLZONE\JLZONE;initial catalog=PMC;integrated _
security=SSPI;persist security info=False;workstation id=JLZONE;packet size=4096"
myConnection.Open()
sqlSelect = "Select * from Users"
Dim myCommand As New SqlCommand(sqlSelect, myConnection)
myReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection)
While myReader.Read()
Console.WriteLine("myreader record = " & " " & myReader.GetValue(1))
End While
myReader.Close()
myConnection.Close()
myConnection.Dispose()
End Function
Johnny Lizardo
|
|
|
|
|
OK. Everything looks good with your code. Sooooo....
Two possibilities exist that can generate this problem:
One is the connection string. Does the database exist? Does is require a username and password to be sent in the connection string? Does it have a real live table called 'Users' or is it a View? Does the Select statement really work?
The second is a busted MDAC installation. You might want to try reinstalling MDAC 2.6 SP2 or better. You can pick that up here[^].
RageInTheMachine9532
|
|
|
|
|
Thannnnnkkkkkk men.. the MDAC installation was the problem... waooooooo.... that's great..
Johnny
|
|
|
|
|
Hi,
I need to send email but the requirement is to send it without smtp server. Please tell me which control to use in order to do this.
Thanks
|
|
|
|