|
I am doing code on treeview , where I got stuck in attaching files an folder icon to the particular file and folder dynamically.I mean I want to attach the file and folder icon dynamically during populating the treeview with system drives.If somebody send me the code for the same .I am in urgent need of it.
Thanks and Regards
Pankaj Garg
|
|
|
|
|
How do you create and populate DBASE3 files using Data Access Objects (DAO) from Visual Basic 6?
TJWH
|
|
|
|
|
Use ODBC Driver for Dbase3
DR
|
|
|
|
|
I know it's a bit cheeky but have you got a code snippet to give me a head start?
TJWH
|
|
|
|
|
no i dont have code as i dont use ODBC . look in google
Divya Rathi
|
|
|
|
|
can anyone help me to add RichTextBox to DataGridView abd Show RTF Formmatted Code in DataGridView?
DataGridView does'nt show rtf in the Text columns and i want to add Richtextbox to datagrid view to show them.
|
|
|
|
|
Background: I have a number of PC's (XP) that i have on remote sites and i want to write a piece of software that will back them up to my server to save me the time from going to do it manually every week!
What I want: Guidance on what i should be doing! I am a relativly new developer in vb.net(2003) and would like some pointers in the right direction.
Cheers
Denis
|
|
|
|
|
A question rather then advice, why are you building a wheel that already exists. There are many remote backup systems out there but there are $$$ involved.
What do you have to backup, or more importantly how big is the backup? What damage will it do to your WAN.
That said here is what I did to backup several servers under my care back to head office.
Step 1: Schedule MS Backup to run at a time that suites (for me 6pm Friday)
Step 2: Write or Script WSFTP (or most other FTP apps) to pickup the file and send to you.
I backup system state and local stored files plus grab SQL db from 2 servers.
As I could not be sure of how long the backup would take I start the FTP two hours after the backup. Size is the biggest prob as one server has 5 gig on it and this takes time even with a fast pipe
I know it is simple but sometimes that is the best.
If your desire is to code the start with the FTP app I have written a few and they are OK if you keep it simple.
Backup, compression, checking file states, handling system files can be very difficult
Hope this helps...
When people make you see red, be thankful your not colour blind.
|
|
|
|
|
Many thanks. We are looking to roll the app out as a stand alone serviceto a handfull of our home clients too and was hoping we could produce a simple package that they could setup themselves.
We have 20 machines to backup for us and have storage to take on about an extra 200 desktops.
I don't mind spending a bit as we will be charging them for the space on our servers to help us cover our new pipe!
Your solution would be usefull to us for our pc's but not the other.
Cheers for the quick reply. If you have any suggestions please fee lfree to send them on
Regards
Denis
-- modified at 11:07 Wednesday 22nd February, 2006
|
|
|
|
|
Hi,
Can I Create Template columns in VB .NET Datagrid just like ASP .NET Datagrid ?
If yes then plz mention the procedure else give me the alternate solution.
Thanks n regards
Pankaj Kulkarni
|
|
|
|
|
Hi,
I am trying to create a dropzone form which is completely blank (No controls) so that I can drag and drop any file from the desktop onto the form which then moves the file from the desktop to the directory c:\dropzone
All I can find so far is drag and drop with controls not just the form.
Can anyone help with the VB.net code ?
|
|
|
|
|
I want to remove all the text boxes in a data report during run time.
I used the following code, but it shows error.
[CODE]
For i = 1 To DataReport1.Sections(3).Controls.Count
If TypeOf DataReport1.Sections(3).Controls.Item(i) Is RptTextBox Then
Unload DataReport1.Sections(3).Controls.Item(i)
End If
Next i
[/CODE]
[ERROR]
Can't load or unload this object
[/ERROR]
Guide me to rectify this.
Thanks in advance.
|
|
|
|
|
i have a stand alone vb.net application that used to send messages to a mobile device.It should use
some webservice which in turn turn needs contact to a java portal.can anyone help me to explain how can i achieve this....
From: jay
|
|
|
|
|
Hi,
I created a web parts control consisting of a listbox and a pop up menu. When the user rightclicks on the listbox, the pop up menu is supposed to appear.
However, the menu always seems to be blocked by the listbox e.g The menu seems to be in the background and is partially blocked by the listbox. Something like dragging 1 control on top of the other on a windows form.
How do I enable the menu to be displayed on top of the listbox?
Below is a code snippet in vb:
'Creates child controls (a menu and a listbox)
Protected Overrides Sub CreateChildControls()
listbox1.ID = "List1"
listitem1.Text = "Testing"
listbox1.Items.Add(listitem1)
listbox1.AutoPostBack = True
Me.Controls.Add(listbox1)
AddHandler listbox1.SelectedIndexChanged, AddressOf Listbox1_SelectedIndexChanged
menu1.ID = "ContextMenu1"
menuitem1.Text = "Acknowledge"
menu1.ContextMenuItems.Add(menuitem1)
menu1.boundcontrols.add(listbox1)
Me.Controls.Add(menu1)
End Sub
I tried changing the order of the controls but its still the same thing. Any solutions for this problem?
|
|
|
|
|
I want to validate my certificate. Can any body help to get CRL list through code and check whether certificate is revoked or not. Thanks in advance....
|
|
|
|
|
Hello Guys, Can anyone tell me the difference between ExecuteNonQuery & ExecuteScalar. Also, in what cases should one use ExecuteNonQuery & ExecuteScalar.
With Best Regards,
Mayur
|
|
|
|
|
use ExecuteScaler when u need to get only one value from DB(i.e. when u're using aggregate func) and use ExecuteNonQuery when u need to insert/update/delete operation.
e.g
if ur query is "SELECT AVG(sal) FROM MyTable"
then use ExecuteScaler, because it returns only one value.
this is not the end, this is how its goin to begin !
|
|
|
|
|
considering your eg. if i need to obtain the avg(sal) of emp from a table group by department, then will i get several records as per the departments if i use executescalar.
thnx for your reply.
With Best Regards,
Mayur
|
|
|
|
|
then u cant use ExecuteScaler in dat case. or u can use ExecuteScaler but it'll return the first value returned by SQL Query...its only for one value...
this is not the end, this is how its goin to begin !
|
|
|
|
|
ok thnx a lot. also i noticed 'ExecuteReader'. Any idea about it. Also, i need to know whether there is any way where I insert/update/delete records to the datatable and reflect all changes to the database in the end. My current operation is taking a lot of time to execute each insert/update/delete statement.
With Best Regards,
Mayur
-- modified at 4:17 Wednesday 22nd February, 2006
|
|
|
|
|
ExecuteReader used in simple database read operation to populate SQLDataReader with ur query...like
// some code
Dim dr As SQLDataReader=cmd.ExecuteReader
while( dr.Read() )
// get values using dr.GetValue(0)
End While
as of ur 2nd question, i need chk out n will post here later, becoz i forgot the code ...all i can say is updation of DB from DataTable is ALWAYS possible.
this is not the end, this is how its goin to begin !
|
|
|
|
|
Thnx a lot. I will be waiting for your reply regarding 'Database updation from datatable". Right now I am facing a lot of problem using the traditional method of updating each record since the operation involves huge data.
Once again thx for your help. Have a nice day.
With Best Regards,
Mayur
|
|
|
|
|
hi there,
is there any way to add listview to a custom treeview like a child node
when we exapnd any node in the treeview i want to add a listview as a child node
thnx in advance
nagaraju kondepudi
-- modified at 1:30 Wednesday 22nd February, 2006
|
|
|
|
|
Hi..
I have an assignment to send sms via mobile which is connected to pc...
I used API commands to send sms... but these codes disabling the ports where i connect the mobile... so can u please help me... if u have code, can u please send it to my id...? (mannu.ba@gmail.com)
Thanx
from
Manu
Manu
|
|
|
|
|
Hello,
I have a laptop that has some "special" buttons, one of which opens a programmable menu that can launch programs, opens directories, and rotates the monitor.
To make a long story short, the interface for the programmable button is a little combersome, so I thought I could do a little better. The only problem is, I'm not sure how to handle the "button press;" I'm not even sure how to detect the state or presence of the button. I do know that it does not raise the keydown, keyup, or keypress events.
Any help would be appreciated. Thanks.
|
|
|
|