|
HDD storage required: Add the file size of finished application and support libraries to the total maximum size of any setting files you might store while the program is running
Minimum RAM requirements: Look in Task Manager's Process tab. View the Peak Working Set column (you might have to use the View menu)
|
|
|
|
|
Hi all
- I have a form with 4 RadioButton and 1 Treeview control
- Each RadioButton populate the treeview from the database in different way.
- Suppose I click on the 1st RadioButton, the Ttreeview is populated by reading from the Database, then I click on the 2nd RadioButton, The Treeview is populated, then I click on the 1st RadioButton again, the Treeview will be populated by reading again from the database.
Q: What I want is when pressing the first RadioButton first time, store - in a way - the treeview, so when pressing the same RadioButton again i don't want it to be read from database again and again.
Here is how I am populating the treeview
' **** RadioButton1_CheckedChanged ****
Dim cnn As New OleDb.OleDbConnection("Provider=VFPOLEDB.1;Data Source=F:\Help_Desktop_12\DBF\API\API.dbc")
cnn.Open()
Dim cmd As New OleDb.OleDbCommand("SELECT p_func FROM api GROUP BY p_func ORDER BY p_func", cnn)
Dim dr As OleDb.OleDbDataReader
dr = cmd.ExecuteReader
If RadioButton1.Checked Then
Me.TreeView1.Nodes.Clear()
While dr.Read
Me.TreeView1.Nodes.Add(dr("p_func"))
End While
End If
Thanks In advance.
Like car accidents, most hardware problems are due to driver error.
Samir R. Ibrahim
|
|
|
|
|
Why don't you just have two treeviews and show/hide it based on the radio button.
|
|
|
|
|
In my case, I should have 4 Treeview above each other, changing one property of a single Treeview will make me change it in the all 4.
I will check if I can store the Treeview in variable TreeNodeCollection and post back if succeed.
Thanks.
Like car accidents, most hardware problems are due to driver error.
Samir R. Ibrahim
|
|
|
|
|
You could store the values in one variable, and you could write some code to parse the contents of the variable and populate the treeview?
Edit:
Or in a file instead of a variable
If everything was not true, would it be not true that everything is not true?
|
|
|
|
|
Hi
Can someone please show me how I can disable drag and drop in a form using VB.Net?
Thanks
|
|
|
|
|
Well, I think I'm right in saying that unless you handle the drag-and-drop event nothing will happen anyway. So, don't handle the drag-and-drop event
|
|
|
|
|
Ok, so how do I handle the event? You have to excuse my ignorance, but I am fairly new to VB.Net, and I am learning by experience.
All I am trying to achieve is stop a user from highlighting a piece of text and dragging it over to a document. So, how can I stop a user from doing this?
Thanks
|
|
|
|
|
Any of you guys been exposed in creating the Schedule in a calender method. for example monday up until friday been booked and calender also utilised, feel free to post your solution have fun
|
|
|
|
|
I think you have accidentally come to the wrong site.
Try here[^].
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Tiyani wrote: feel free to post your solution
No!
|
|
|
|
|
to create a schedule using VB.NET,
|
|
|
|
|
A calender can be used to print a diary. Write your appointments with HR there
|
|
|
|
|
Tiyani wrote: Any of you guys been exposed
No, it is illegal here
Tiyani wrote: creating the Schedule in a calender method
there is no such thing as calendar method
Tiyani wrote: feel free to post your solution
there are planty of articles here at CP. Pick your choice and give credit where credit is due.
Tiyani wrote: have fun
will try.
|
|
|
|
|
Yusuf wrote: there is no such thing as calendar method
Private Sub Calendar()
End Sub
Oops, there is now
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Don't expose in public, keep it private
I are troll
|
|
|
|
|
Steven J Jowett wrote: Private Sub Calendar()
End Sub
But, but that is private method. No use outside of the class
|
|
|
|
|
Hi All,
Recently, i developed a Product in VB6. It is related to Banking... For some security softwares considering this a malicious software. In this software, there are two main files
1) Autorun.exe
2) IDBankingB.exe
Autorun.exe
-----------
1. It will copy the related files(DLL) to "System32" directory and registering the DLLs
2. Call the Main exe (IDBankingB.exe), and terminate(Autorun.exe) by itself.
IDBankingB.exe
--------------
Actual functionality of banking.
Is there any implementation change requires in "Autorun.exe"?
If there is no need to change the implementation, then how to escape from security software...
Please help me if anybody knows...
Thanks
Thanks & Regards
Kumaran
|
|
|
|
|
Kumaran21cen wrote: Recently, i developed a Product in VB6
That's your first mistake.
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Kumaran21cen wrote: 1. It will copy the related files(DLL) to "System32" directory and registering the DLLs
in Autorun.exe, copying the dll to system32 will occur each time you dbl click on it?
If that a setup/install you have to do it once, if that part of running your app, then your approach is wrong IMO.
If that is banking software so I will assume you are trying to install it on the server, the client pc should run Autorun.exe?
Where it says that it is "malicious software", server side or work station side?
Like car accidents, most hardware problems are due to driver error.
Samir R. Ibrahim
|
|
|
|
|
DEAR ALL
I am doing my university Project in VB dot net 2005. and subject is "Video LAN conferencing in office environment" .
my project contain " LAN conference in office, conference sehudle" FTP ,Remote Desktop , LAN massager".
I try to get help form university but no out put. peoples from out side university "software house' not help with out money that i have not.
so any one who have some ideas about this project please send me .
Thanks alots
....................please share knowledge it increases with sharing ..........................
My e mail m_alisafdar@yahoo.com
|
|
|
|
|
And todays idiot of the day award goes to....
Why would you take a project if you have no idea how to do it ? If you paid a software house to write this, how would you deserve to pass your course ?
Oh, and why give your email to every spammer who trawls the web for people to offer russian brides and penis pills to ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
I am reading from a file a list of URLs, selecting ones which match criteria, and adding them to a TextBox line by line.
Each line is in the correct format starting with an a href tag etc
How do I make this appear as a clickable hperlink in the TextBox?
(I've tried using a PlaceHolder filled with Hyperlinks at run time intead, but the lack of formatting ability kills that. )
It must be possible because when I initially posted this message I had a complete a href line in line two, above, and it turned out in the posted message as a link.
Ormond
|
|
|
|
|
I hate to burst your bubble, but the way this forum's posts work and the way textboxes work, have absolutely nothing in common, besides text.
A url link is a form of html and the textbox control simply does not interpret html, or any other code for that matter.
Possible solutions to your problem, are the listbox control, and the browser control (if you're using VS 2008)
The listbox control will let you ad lines of text, and lets you easily access them line by line. That way you could conceivably check which line is clicked and then use that lines text to create a link clicked event or something
The browser control, for your purposes, is a bit like a textbox that will interpret and automatically format html (i.e. url links).
My advice is free, and you may get what you paid for.
|
|
|
|
|
Thanks, I think I've cracked it.
The solution (in case anyone needs it) which "works" is to use a PlaceHolder and a series of Hyperlinks, and to set the width of the Hyperlinks wide enough so that they naturally occupy a whole line.
Thanks for your help.
|
|
|
|