|
Hi!
I'm kinda new to VB6, and I'm taking a programming course in school for it. I have final project (a simple A/D conversion simulator) and it requires me to compute a time interval as well as the values corresponding to those time intervals. I need to eventually output these values into a table.
I've googled "VB6 creating tables" and variants of it many times, but all I get is how to create a database table using Access or some other program in VB6. I just need a simple table with 2 columns that can be scrollable.
Is this possible in VB? If someone could point me in the right direction, that would be very helpful.
|
|
|
|
|
You've already found what you're looking for. The datasource is going to be a recordset that you fill in with the generated data. I don't have any examples because I haven't used VB6 in the last 5 years.
All the examples you're finding are filling the recordset from a database. Don't worry about that. Create the recordset and fill it yourself with your own data.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Is there a component that I can actually put onto my forms for this table?
|
|
|
|
|
It's been a long time, but I seem to remember something about a MSFlexGrid.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Yes that's the control (AFAIR).
He can also populate a listbox but the FlexGrid is the father of the datagrid and therefore the more appropriate probably.
|
|
|
|
|
Like it says on the label.
I want to code up an add-in for internet explorer, which will have an icon on the tool bar.
How do I go about it and where can I find info
|
|
|
|
|
It's going to be done entirely with COM Interop, since IE wasn't written under the .NET Framework. Google is your best bet for Internet Explorer Extension[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
what is OLE . Why it is used in VB Please Can somebody tell me
|
|
|
|
|
Ever hear of Google[^]? It's quite easy to type "What is OLE" in the search box.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
Hi,
Can amyone tell me is there any way to save the dlls used by an application in windows\system folder rather than in bin folder and use them as reference in our project in order to protect my dlls from getting misused or deleted.
If yes please let me know
Thanks in advance
|
|
|
|
|
You can place the DLLs in any directory you like but it still won't save them from being misused or deleted. What exactly do you mean?
...Steve
|
|
|
|
|
Hi Steve,
First of all Thanks for the reply
I mean to say that suppose i have an application which uses say for example encryption dll now when add that dll reference to my project a copy is saved into my bin folder right so when i deploy that project i aslo get that dll in my bin folder after installation
Now what i want is i wand to store that encryption dll in my windows\system folder not in my bin folder so that no one can know where that dll is and misuse my dll so that my application can run secure. Can you please help me out in this regard.
Thanks in advance
|
|
|
|
|
You can choose where to deploy any of your applications components. It does not have to be the BIN folder.
Placing the DLL in Windows\System won't hide it from anyone, nor will placing it anywhere else.
What you'll probably need to do is secure the methods and properties within the DLL from unauthorized use.
Search The Code Project for "net assembly security". There are a couple of articles and msg board threads about that subject.
...Steve
|
|
|
|
|
Well your question has no "proper" answer because there's no straight way to accomplish that. I also remember exactly the same question on this forum a month ago or more ... maybe yours? Anyway you can check the replies there as well.
A DLL can be every where as long is referenced or in a common path (as the old PATH in MS-DOS). It's position in the filesystem doesn't make any difference in availability or visibility to anyone/any application.
A DLL is an open library per definition, thus if you want to close it you need a different approach. That can be done in at least three ways:
1) HW - Strong - i.e. with a USB Key
2) SW - Mid - i.e. an activation code
3) CC - Weak - Obfuscation and not documenting it
You probably want to evaluate a new approach to it.
|
|
|
|
|
Dear All,
I have a DataSet which has a relation, table A is parent table B. I want to show only data of A on Datagrid. But in front of each row of datagrid, have "+" mark. I want to hide the "+" for each row ( don't clear Relation in this Dataset).
Please help me solve this problem.
Thanks alot.
inew
|
|
|
|
|
Can't you set the Datagrid's datasource property to table A instead of setting it to Dataset ?
|
|
|
|
|
Hi all
I am writing an app at the moment that creates succesive jpg images of a video source (cctv/security).
I have made the app create a directoy full of jpegs (upto 10000) for a given section of time. What i would like to do is be able to create a video from these images, ideally an avi and a mpeg movie.
I want to be able to do this so that people without my application can view the footage, i have searched for a while no and found various entries for movie creation from screenshots etc but cant seem to find anything close to what i need
Any pointers people
Thanks
James
-- modified at 21:08 Friday 25th November, 2005
|
|
|
|
|
Hi!
Would like someone to assist me with sample codes to open a file (Picture in particular) and display it on a form in access program.
Thanks in advance.
Regards
Joseph
ffffffffffffffffffff
|
|
|
|
|
Hi all,
this is probably a very simple problem but I am new at socketprogramming so I could use some guidance.
From the client I will use MSMAPI. I send email and specify the port to use as I need to recieve the email on the server using a non standard port like 11001. This works as a SPAM filter as no username or passw will be used on the server to Relay I need to redirect the email on the server and locally send it through port 45 (standard) from server to reciepent.
Any input how to do this?
Thanks in advance! /A
|
|
|
|
|
This is hardly a very simple problem. If this is your first socket app, I think you've taken on a bit too much at once.
What you have to do is write your application as both a server AND a client, in essance, you're writing a proxy server that is both a POP3 client AND an SMTP server.
The client side of your application must talk to the real mail server, just like Outlook Express or any other email program. And YES, you still have to supply the username and password to this server. You'll have to download the emails and parse them up if you need to, then save them in some kind of local storage, again, just like any other email app.
Now, the server side is where your application gets a bit more complicated. You'll have to implement an SMTP server so your normal email application can pick up the email from your app. This means you'll have to read up on this type of server to find out what commands you have to supply support for.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I've recently developed an application for PDA's using VB6 and converting with AppForge. I've got the program deploy'd to multiple PDA's doing beta testing. Found a problem and I don't have a clue where to begin.
One of my beta testers opted to do a soft reset while he was not using my application. When he attempted to reenter my application it would not load giving him error messages like the form had been unloaded during load or something like that.
The only way to get the program back up is to remove the program and reinstall using a different activation key (which is stored in the registry). As long as we try to activate the program using the old activation key it has the problem.
Any suggestions?
Thanks
Will
|
|
|
|
|
I'm trying to pass and retrieve data from textbox to sql server.
I want to insert, delete, update, select from a table
I write the following code.
Can you help me for What I miss:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Try
sqlconn.Open() 'Insert command
sqlstr = TextBox1.Text
sqlcomm = New SqlCommand("insert into mytable name values sqlstr", sqlconn)
TextBox2.Text = ("New Record inserted into Mytable table in pubs.")
Catch
MessageBox.Show("The Connection could not be opened!", "Error message !", MessageBoxButtons.OK, MessageBoxIcon.Error)
Finally
sqlconn.Close()
End Try
End Sub
Thanks
|
|
|
|
|
Add this line
sqlcomm.ExecuteNonQuery()
after this line
sqlcomm = New SqlCommand("insert into mytable name values sqlstr", sqlconn)
|
|
|
|
|
Thanks for help:
When I add sqlcomm.executenonquery()
the code moves to catch and run the error message.
Any Explanation about this please.
Thanks
|
|
|
|