|
Of course you can. The ADODC control is just that, a seperate control you drop on your form. ADODB is a database access API. The ADODC control actually uses ADODB to do its job.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi, I am new to .NET. I am building an appln in vb.net/ ms access. Everytime, some processing happens, the windows form becoms blank and is not accessible. I have heard that this issue is occurring since all the processing happens in the main thread and this issue can be solved by using threading.
Can someone provide some links or information regarding threading and how to use it in my appln. Thnx.
With Best Regards,
Mayur
|
|
|
|
|
This site has many articles about this subject.
Don't be lazy and do a search.
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
hi everybody
i am working on vb 6.0. iwant to save a web page on my local drive. i want to do that in the same way as we save from the file menu save as command in internet explorer,means all the images in the page as well as links should be saved.
if anybody have idea about that please help me
Thanks
-- modified at 0:15 Friday 3rd March, 2006
|
|
|
|
|
|
Hello i use this code which specied in link
but it gives a error on that line it gave "Unknown Error"
If you have any idea please help me.
iMessage.CreateMHTMLBody Url, CDO.CdoMHTMLFlags.cdoSuppressNone, "", ""
Thanks
|
|
|
|
|
how to set webcam to record automatically in specific time interval? without user have to click on the button to start recording and another click to stop recording?
|
|
|
|
|
I am using visual studio.net, vb.net
sql server
msde
I am sending an email asking a question with a Y/N answer
Is it possible to button click Y/N in an email and change a db field
Is it possible to click a button in an email and have that
change a field in a database?
Example:
I want to send an email to a customer and ask them if they are over
the age of 30 Y/N?
Can the Y/N value be returned in an email and automatically change the db field to
Y or N?
|
|
|
|
|
Yes. It'll work just like as Web Application. The body of the email contains an HTML page. Clicking a button on that page posts the response back to your web server, exactly like any WebForms app.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
He asked if it was possible. Yep, it is!
You're right, though. I didn't mention that it wasn't a good idea!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I am pulling data from a MSAccess database and displaying the data in a datagrid using a DataGridTableStyle.
How do I add a button or drop down list to the DataGrid.
With .GridColumnStyles
.Add(New DataGridBoolColumn(tblCrrncMngr.GetItemProperties.Item(CODE_TABLE)))
With .Item(0)
.MappingName = "COPY_LINE"
.HeaderText = "FLAG"
.Width = 50
.NullText = String.Empty
End With
.Add(New DataGridTextBoxColumn(tblCrrncMngr.GetItemProperties.Item(CODE_TABLE)))
With .Item(1)
.MappingName = "OPTION"
.HeaderText = "OPTION"
.Width = 100
.NullText = String.Empty
End With
End with
|
|
|
|
|
|
I want to use Powerpoint animations in my applications because it provides great quality. Please somebody tell me how can I play a slide inside a VB form.
|
|
|
|
|
Can someone please point me to some good references that will tell me how to control a Visual Studio deployment project?
Through trial-n-error, I just spent more than a day building my first deployment project. The biggest problem/frustration was getting the files to go into the 'right' directories. I've got at least a half dozen VB.Net books. Only the college text book mentions deployment in any detail, but it's working with some simple examples.
I've got lots of questions and I can probably dig out most of the answers if there is a good book or web site out there about deployment projects.
Thanks for the help. You can reply here on the board or via e-mail to CP@lastnamesoftware.net.
--HamCoder
Andy Arnold, WV8AA
|
|
|
|
|
|
A deployment project should be quick and easy. What sort of application do you mean to deploy?
Regards,
Johny Rodriguez
The GDC, New York.
|
|
|
|
|
Thanks for the help guys. The links from ProgLoad were great. I re-built the installer last night in just over an hour.
Johnny, the install isn't too complicated. A single EXE in a sub-directory under Program Files with the Help files in a sub-directory under that. The data files are in two directories (Data and Backup) under Documents & Settings. One of my problems was managing the project properties, which aren't where I expected them.
--HamCoder
|
|
|
|
|
How to create a document template and add ddb data using visual studio tools for office
I am using visual studio 2003
installed vsto TOOLS FOR OFFICE
MSDE
Windows Xp
VSTO 2003
NorthWind database:
customers table:
CompanyName
ContactName
orders:
OrderDate
ShippedDate
I am trying to learn how to use tools for office using the northwind database.
I am trying to populate NorthWind db data on to an existing word document template
that can be saved then re-used :
I cannot find any tutorial that shows how to perform this. MSDN does not show this
msdn showes how to
Example: (where there are ______ I want to have a database field
auto-populate)
_________ (Northwind db field: CompanyName)
Dear Mr. _______ (Northwind db field = ContactName) Todays Date:_______
Your order has been received as of: _________(Northwind db field = orderDate)
Thankyou for your order Blah blah blah blah blah blah Blah blah blah blah blah blah
Blah blah blah blah blah blah Blah blah blah blah blah blah Blah blah blah blah blah blah
Blah blah blah blah blah blah Blah blah blah blah blah blah Blah blah blah blah blah blah
Your order has been shipped on _______(Northwind db field: shippedDate)
sincerly,
Bud Light Year
|
|
|
|
|
The "eval" command does not exist in VB. I wish to do something that is possible in other languages:
<br />
For x As Integer = 1 to 10<br />
Dim eval("obj" & x) As myObject<br />
eval("obj" & x).setting = value<br />
<br />
Next<br />
<br />
An immediate answer is, "Create an array of objects!". Problem: the "myObject" throws events that I need to handle. If I create an array of "myObject"s, the objects can no longer throw events... even if they did, how would you handle them?
<br />
Sub Handle_myObject() Handles ... ?<br />
End Sub<br />
What would it handle?
I am stuck on this one. Any help is appreciated.
-- modified at 15:09 Thursday 2nd March, 2006
|
|
|
|
|
Try This ..
USe Load function. This function dynamically creates an object & loads it .
Divya Rathi
|
|
|
|
|
swingheim wrote: I wish to do something that is possible in other languages:
Just because it's possible in other languages, doesn't make it a good programming practice.
swingheim wrote: An immediate answer is, "Create an array of objects!".
It is the answer!
swingheim wrote: Problem: the "myObject" throws events that I need to handle. If I create an array of "myObject"s, the objects can no longer throw events...
Not true! Create your array of objects, remembering to execute a AddHandler statement to manually wire up the event handlers.
For i As Integer = 1 to 10
Dim newObject As New WhateverClass
AddHandler newObject.eventToHandle, AddressOf objectEventHandler
objArray(i) = newObject ' Or whatever your using to store the instances
Next
.
.
.
Private Sub objectEventHandler(parameters)
' blah, blah, blah
End Sub
AddHandler[^] docs. Don't forget to disconnect the handlers with RemoveHandler before the objects die!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Is there a simple and fast way to tell if a file is locked by another process?
I need to ensure that a zipfile is not locked by another process prior to adding a new file.
|
|
|
|
|
Since it is possible for another process to aquire a lock in the time it takes from checking to trying to open the file* yourself I would suggest the better approach is to set up a try/catch mechanism to catch the condition where the file is locked.
Yes, I know it sounds like a tiny amount of time - a few processor instructions - but since Windows is a preemptive multitasking environment there is a strong possibility that the operating system will intervene to give another process its fair share of processor time
ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?
|
|
|
|
|
I am calling the DynaZip ActiveX control which is returning the ZE_CREAT errormessage (see below). I would think that the ActiveX control would allow you to handle locked files, but I can't find any property that applies. I was attempting to determine if the file was locked prior to calling the control. I may attempt to call this process in a loop until it returns a successful zip message (or another error).
Thanks for the assist.
ZE_CREAT = could not create output file - This error can occur when the target ZIP file or the directory to contain the ZIP file is locked or restricted by another.
|
|
|
|