|
Do it in Excel then reverse engineer it to code logic... that's what I'd try.
|
|
|
|
|
I have a code that seems to be in Excel but i am a little confused when trying to while transfering it to Visual Basic.
|
|
|
|
|
|
i'm export my favorites links from internet explorer as html file
now i want to import this ( html ) file to tree view on my form
i can read form this file and get folder name and URL but i cann't make it as tree it's now in on level only
i want to read from this file and make tree view in many level
i'm get an example from vbcity but it not complet , this is example from vbcite
http://www.segaal.com/ReadBookmark2.zip
example read HTML file and consider it contain two level but in fact it's contain three level
as this picture
http://www.segaal.com/BookMarks_Level.jpg
pls i want to edit this project to read HTML file in multi Level in tree view as above picture
any one can edit this example to Read BookMarks by multi level in tree view
http://www.segaal.com/ReadBookmark2.zip
thanks for all
|
|
|
|
|
up
|
|
|
|
|
I have too user controls in my program, one of them has a list on it, and I want to reference the list from the user control panel. To be more specific, my list is printersList in user control goPanel, and I want user control goPanel to reference it. I get the the error: "Reference to a non-shared member requires an object reference." I've done a lot of research on this error, for about the past hour, but have not been able to make sense out of it, can anyone point me in the right direction? Thanks
|
|
|
|
|
Hi all,
I have two datagrids - one is a one column grid 150 pixels wide which always stays in place (like the row number in Excel) and the other, placed right next to it shows a lot of data horizontally. The idea of this is so the user can always see what line they are on since the left hand datagrid is always visible... again, just think of how Excel works and you get the idea.
So, my problem is this - I don't want the left-hand (static) datagrid to have a vertical scrollbar but rather I want it to scroll to the corresponding row when the user scrolls the right-hand datagrid vertically. I'm turning the vertical scrollbar off in the left-hand grid so can I still scroll this datagrid? Or is there another way to get this datagrid to go to the appropriate row? Obviously what I'm trying to do is get both grids to scroll vertically together *without* showing the vertical scrollbar in the left hand datagrid so the whole thing loioks like one very smart datagrid.
Anyone got any bright ideas on how to do this?
TIA for any help or suggestions...
Mike
-- modified at 18:39 Wednesday 8th March, 2006
|
|
|
|
|
we can insert items in the checked list box using
CheckListbox.Items.Insert(Index, Data)
like that is there a way to insert the data's corresponding value in the checked list box ? so that we can later retrive the values from
checklistbox.selectedvalue
I think we should open a Star with Microsoft... If you guys know any solution, please let me know.
Chan.Troy
-- modified at 15:56 Wednesday 8th March, 2006
|
|
|
|
|
Hi, I am a newbie who is porting an application written in Lahey Fortran 95 with help from Canaimasoft's F90sql package to vb.net (vs2005 pro). The odbc part etc, is a lot cleaner in vb.net and the fortran code is quite amenable to porting. The real problem I have is with the execution speed - it takes about 60 TIMES longer in vb.net. I thought it to a issue with running the app in the debugging mode on the IDE, so I put together a deployment and installed the application. Little or no change in speed was observed. BTW. The debuggin and other array bound checking etc are fully operation (slower I guess), but the Lahey version did have bound checking as well. I am at a loss to figure out what I could be doing wrong. Researching on the groups seems to indicate a 50% increase in execution time over prev version of vb is seemingly acceptable, but I have 6000 % increase which obviously is NOT. Any pointers anyone?? Thanking in advance for your help.
Guruvar2
|
|
|
|
|
You're not really comparing 'apples with apples' here.
My experience of Fortran compilers (admittedly over 20 years ago now) is that they are very highly optimized and geared towards crunching numbers. The .NET platform is not optimized for, nor was it designed for that putpose and has a whole lot more overhead.
Maybe you could find out what parts of the app are performing too slowly and attempt to hand-optimize the code or even break those functions out into another DLL written in C++ (for example) to specifically address the performance issues.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
(Translation: I'll show you the way, but not write the code for you.)
|
|
|
|
|
Thanks for the reply, for a while I thought I was up against my own stupidity factor This a great help, have to scrap the project as it is though
Thanks again, this takes a load off my mind. I do agree about the .dll solution for the number crunching, Lahey Fortran does allow the creation of dll's for use with other programming systems, that might be worth a look at.
OR complete recoding in C++ might be the answer?
|
|
|
|
|
I completely agree with Steve's comments - Fortran is a number-cruncher first and foremost .. so, if you want to compete and compare apples with apples, get yourself an optimized math library and get it to do the crunching for you
'g'
|
|
|
|
|
Hi guys,
I print a page from an excel file, but the quality of the printer ink is Normal and I want Draft! Is there a way to make it possible?
Thanks in advance..
|
|
|
|
|
|
|
I looked at the samples and it does not seem to support the system.data.sqlclient object... Any other ideas???
|
|
|
|
|
jpope wrote: Does anyone have an example of how to use the System.Data.SqlClient in VB6???
No. There is not anyone anywhere that has an example of that, as it is not possible. You can not use classes from the .NET Framework in VB6.
Look at the articles that Chandana Subasinghe showed you. They show how to call .NET code from VB6. All you have to do is write some .NET code to use SqlClient.
---
b { font-weight: normal; }
|
|
|
|
|
I was trying to add the play midi function in my game, but sudently there is an error i dunno wat it mean...anyone know?
"be sure \sound\selectform.mid Property Build Action is set to Embedded REsource"
|
|
|
|
|
Hi, i'm in a hurry here so i would really appreciate your help. I need to know how to get some sql events, such as People connecting to a database, inserting, deleting, updating, selecting, this is for auditing a database but i need a way to do this in SQL and visual basic .net, not using any third-party software. Please help!!! thank you
Julia
|
|
|
|
|
i wonder how to show an image by giving the location of the image and show in the picturebox???
like Path.GetDirectoryName(Application.ExecutablePath) & "\image\image1.jpg"
|
|
|
|
|
You have to import System.IO namespace before declare the class. Like
Imports System.IO
Public Class Form1<br />
.<br />
.<br />
.<br />
.
Then,
PictureBox1.Image = Image.FromFile(Path.GetDirectoryName(Application.ExecutablePath) & "\image\image1.jpg")
chatura
|
|
|
|
|
I am taking my first programming class in VB. I am working on an assignment that involves calculating a selling price with the cost sold of a vehicle and the results is suppose to show the total commission earned from the sell, total number of vehicles sold and the average commission and also a counter. Everything on my form works as designed except for my calculate feature.
If I can just get the calculation between the selling price and the cost sold to work then I think I can eventually figure out the rest of the coding. Can someone please point me in the right direction on how to code this issue?
Thanks
Stephen D. Weaver
Technician II
COLSA Corp.
Digital Wizards Division
sweaver@colsa.com
|
|
|
|
|
Stephen, can you post the code that is not working for you and then we can take a look.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
(Translation: I'll show you the way, but not write the code for you.)
|
|
|
|
|
I dont get this message, could anybody help me?
System.NullReferenceException: Object reference not set to an instance of an object.
at Infragistics.Win.ControlUIElementBase.StartHoverTimer()
at Infragistics.Win.ControlUIElementBase.CheckMouseHoverStatus(UIElement element)
at Infragistics.Win.ControlUIElementBase.ElementEntered(UIElement element, Boolean triggerMouseLeavesOnly)
at Infragistics.Win.ControlUIElementBase.SyncMouseEntered(Boolean triggerMouseLeavesOnly, UIElementInputType inputType)
at Infragistics.Win.ControlUIElementBase.SyncMouseEntered(Boolean triggerMouseLeavesOnly)
at Infragistics.Win.ControlUIElementBase.SyncMouseEntered()
at Infragistics.Win.ControlUIElementBase.VerifyIfElementsChanged(Boolean verify)
at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Size elementSize)
at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode)
at Infragistics.Win.UltraWinGrid.UltraGridUIElement.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode)
at Infragistics.Win.UltraControlBase.OnPaint(PaintEventArgs pe)
at Infragistics.Win.UltraWinGrid.UltraGrid.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
|
|
|
|
|
Spaz80 wrote: System.NullReferenceException: Object reference not set to an instance of an object.
It means that you have not initialized an object correctly and its reference variable is still NULL.
Use the call stack trace provided in the message to pinpoint the code in error.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
(Translation: I'll show you the way, but not write the code for you.)
|
|
|
|