|
That's basically what the datagrid is for, so google 'datagrid', or even search this site, for a ton of info.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
can someone help me to design a control to call up the current rate of convertion between any two world currencies.this should also be able to display as a graph,the history of the flactuations of the selected rate. i need the procedure(codes)
thank you for helping me
|
|
|
|
|
rexford nyarko wrote: i need the procedure(codes)
I don't see anyone writing the code for you.
Basically, I assume you're going to use this control online ? If not, where will the info come from ? Getting the data is the only sticking point, the rest is pretty trivial, any tutorial on user controls will help with that.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I used Visual studio .NET 2003 to create the sql database, and now I need to know how to import it into frontpage 2003 so I can use it with my webpage that I have created.
|
|
|
|
|
Frontpage ? I'm not sure that Frontpage does that, I'd have thought you needed to use asp or ASP.NET. I could be wrong, but either way, I think this is the wrong forum to be asking in - try the web development forum.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I have a datagrid with 2 columns, 1 is template column with a number of fields in it and the other is a delete button.
In the template column I have a drop down list that is loaded with a dataset. What I need to do is update a lstbox with data based on the selected value in the drop down when the selected index is changed.
How do I trigger or catch the OnChange event for a drop down in a template column?
Thanks for the help.
|
|
|
|
|
hi
can any any plz let me know, how to bind data(oracle) to a tree view in vb .net.
it will be like root then child then subchild......like wise
thanks
Paritosh
|
|
|
|
|
Is it possible to have a combo box like one in OpenFileDialog window look-in Combo Box (explorer ComboBox) in a vb.net windows application without adding a separate dll .If anyone has an idea please help.
-- modified at 23:32 Friday 21st October, 2005
|
|
|
|
|
hello...
i am developing applicaton in vb.net. all windows users are created on the server machine. all users are accessing my application from their respective machines. i am using sql server 2000 as databse. in my datbase there is one users table which stores all information about the users like their name, type, description etc. my requirement is - when my application run on server machine, at that time it should searh for all new users that are created on server machine which are not there in my user tabel. so once i retrive the new user names along with their details, i can add all of them in my users table. this all i wanted to do in vb.net
urgent help needed
thanks in advance
abhijeet
|
|
|
|
|
hi all , i have problem at one application i want to convert one doc file to mht file using visual basic programing can anybody tell me solution of this problem.
|
|
|
|
|
hi,
Can any one tell how to popup a form in vb.net
|
|
|
|
|
The simplest way to do it, if you wanted a dialog window is:
Dim myDF As New myDialogForm
myDF.ShowDialog()
If you want something more specific, you'll have to ask a more specific question.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
thanq for reply,
I want to disply data from database when the form is poped up,can u tell me how to do this
-- modified at 2:36 Friday 21st October, 2005
|
|
|
|
|
There's only a bazillion different ways of doing it. Depends on how you want your data displayed (datagrid, textboxes, drop downs, ...), where it's coming from (Access, XML, SQL Server, ...), and how you want to interact with it (read only, editable, paging support).
You've got to be more specific when asking questions. It's really difficult to answer broad question likes you've asked here. I get the feeling that your just asking what the possibilities are and don't have a very clear idea for any one project your working on.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
In one of my projects, I had to develop a web service and deliver the setup to the client. I faced problems while changing the Target Web Service as the client will install it anywhere in his machine with any name. how to change the Target Web Service.
I am Entry level person
-- modified at 1:33 Thursday 20th October, 2005
|
|
|
|
|
I have created the following in VB.Net2003:
I have a working form that I think has all necessary properties, methods, and procedures to do what I want it to do.
In other words, I have it so that it will appear when I press a button on another "parent" form, and will close when I click its close button. I want to be able to create many instances of this form from the "parent" form and I want them to work independently and close independently, but be able to communicate back and forth (send and get strings and other objects) with the "parent" form. I would also like them all to close, each having the chance to save information, when the "parent" form is closed.
I think that in order to do this I may need to do multi-threading, making each new instance in a new thread - but I don't think I want to go through multi-threading. Would a collection work?
Any help on either of these concepts or anything else that you might think would allow me to accomplish this would be greatly appeciated.
sincerely, Brett Peirce - PolerBear
To err is human; To forgive: divine.
|
|
|
|
|
really no.
well it may depends in some special occasion that a separate thread would be needed, depending on the thing your form do, but generally not.
There are many way for doing it, anyway the basic solution to a have a Myforms() As Form in you BIG application and when the user wants a new one
Redim preserve myforms(myforms.length)
Myforms(myforms.lenght-1) = new yoursmallform()
myforms(myforms.lenght-1).show
and .. well for the data exchange with the parent form.. i think here also there are many way.
i just don't know.. i think after all there is some way across the .net a system for the forms to communicate... between the many ways i see for the comunications 2 are interesting in my point of view.. one is with a tcp/ip loopback connection (you may also use a small library of mine, posted here on codeproject, for doing this), but this is definetly not so efficent.
a better way (considering that you don't want to loose yourself into the .net) may be simply implement your event that may be easily thrown by the small form, and easily captured from the big one.
didn't you try this?
<- true inside to understand outside ->
|
|
|
|
|
I have a multiline text box on a form in a windows application.If some portion of teh text appears inside a tag like this ,#some text#.Then I want to make that portion of the text non editable.Can i implement this.How do i go about this.Later I want to replace the text between the pound symbol with data from a database while printing a report.So I don't want the user to edit the text inside the tag.These tags will be inserted from a list of values.The user should be able to edit the remaining part of the text box.These tags can come anywhere inside the text box and more than once.
|
|
|
|
|
Though it is probably not the best way to do it, this is probably what I would do:
I would set the form's KeyPreview Property to true, making the form's KeyUp, KeyPress, and KeyDown Events (and whatever sub(s) you may have to handle them) get a crack at what the user pressed before the textbox would.
If you did this, then you would then write some algorithm to determine whether the character that the user pressed (if it was entered at the cursor or in place of any selected text) would cause one of your tags to change. If it would, then you absorb the keystroke by setting the KeyPressEvents.Handled Property of "e" and then do nothing else.
If I'm right, and of course if you can figure out that algorithm, then the effect should be an un-alterable "tag" in the middle (or any other part) of the text box control
I do wonder: What if someone accidentally inserts an incorrect tag (like #dog# where it should be #one if by land, two if by sea#)"? Do you have an erase function? If you do have that algorithm working, maybe you could use part of it to select tags when you double click (or even single click) on the text box; then have a button to delete the tag.
As for a mostly different approach, you could have buttons (or whatever) to insert the tags, and let the users edit them to their heart's content. However, when the user submits the text for processing, have an algorithm go through and correct simple mistakes in the tags and/or point out invalid tags, giving the user a chance to cancel their submission, or change the tags at that time ("Spell-Check" Style - but with tags)
Oh Yeah - Good Luck
P.S.: Feel free to mention me in the about box if you feel my contribution was valuable - and, uh... any checks in the mail would be welcome too
sincerely, Brett Peirce - PolerBear
To err is human; To forgive: divine.
|
|
|
|
|
Thanx for your womderful help.I think I should go by the second approach.Gonna start working on that.Thanx once again for the wonderful idea.
|
|
|
|
|
i have a windows application which talks to a web service, now i want to configure the web reference at runtime through App.config file, i know there is a way to do it but i donot know how, any one can help me ?
I am Entry level person
|
|
|
|
|
It's an XML file, you can open and manipulatge it. There's no specific write mechanism provided for the app.config file.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I like to find out whether it is possible to monitor what files are being copied out of my PC to bluetooth devices attach to the USB port. Can somebody advice or direct me? Maybe there are ActiveX Components available in the market for that?
|
|
|
|
|
tslu wrote: I like to find out whether it is possible to monitor what files are being copied out of my PC to bluetooth devices attach to the USB port.
Not really. A file copy is nothing but a File Open and File Read operation by an application. The application then opens another file on another device and writes it. There is nothing that ties the two operations together, other than the application doing the copy. Nothing in the system will associate the two together.
Also, how are you going to tell the difference between an application just opening a file and reading it to get values out of it or opening a file and reading it to copy it somewhere else? There's just no way you can do that.
tslu wrote: Maybe there are ActiveX Components available in the market for that?
I seriously doubt it for several reasons. Not the least of which is because there is no market for a tool such as this and it has a very limited use.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
tslu wrote: Can somebody advice or direct me?
Well as Dave said doesn’t sound possible, but why couldn’t you monitor the system for removable mass storage devices. When a new one is detected watch it for directory changes. Record any new files.
I know it’s not really an answer but it a way to do it.
DEBUGGING : Removing the needles from the haystack.
|
|
|
|