|
See my response to your next posting, I think that it will start you off in the right direction.
Hope this helps
Tom
|
|
|
|
|
Hi, I'm localizing my windows app and I accidentally choose a language that I don't want to (actually, I accidentally choose 2 languages ), the fact is that I removed the *.resx but when I build the app at the /bin folder appears those unwanted languages.
Please, help!! I must finalize my final project to graduate this week
|
|
|
|
|
How to print? I tried Printer.print "sadsdf".
It did print after I closed the application. It seems that the printing is in low priority, How do I change this? Thanks
<italic>Work hard and a bit of luck is the key to success. You don`t need to be genius, to be rich.
|
|
|
|
|
From memory:
Printer.print stores the text you want to print in the memory while waiting for more commands.
You have to call Printer.flush to send the commands to the printer.
Hope it helps,
Edbert P.
Sydney, Australia.
|
|
|
|
|
Thanks. I`ll try that
<italic>Work hard and a bit of luck is the key to success. You don`t need to be genius, to be rich.
|
|
|
|
|
I`ve tried it. It didn`t work. I`m using vb6. Do you know that code in vb6?
Guess when I`m asking something in this forum, I`ve to include the languange.
<italic>Work hard and a bit of luck is the key to success. You don`t need to be genius, to be rich.
|
|
|
|
|
Try
Printer.print "Text"
Printer.Enddoc
If you have to print more pages then
Printer.print "Text Page 1"
Printer.newpage
Printer.print "Text Page 2"
Printer.Enddoc
|
|
|
|
|
This should have been an easy task, but won't work for me. The following format: dataadapter.update(dataset) works fine when updating data, but errors out when attempting to update a new table. I have inserted records into the dataset through code, they are visible in the dataset, have a row state of added - just won't update the underlying tables! HELP!!
Betty
|
|
|
|
|
Does your dataadapter have an SQL INSERT command associated with it, or just an SQL UPDATE?
DataAdapter.Update()[^] docs on MSDN.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
If an exe A.EXE calls an ActiveX DLL B.DLL, which opens a form which has an OCX called C.OCX:
Is there a way C.OCX can tell teh name of the DLL which launched the form that called it?
|
|
|
|
|
No there isn't. The only way it can tell is if your OCX has function which take a parameter as such. The form would then have to pass a reference to itself to the function, which is never done by default.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
Is it possible to display data from a comma seperated value file (CSV) into a datagrid in VB.Net?
Any possible ideas with be great.
thanks.....
|
|
|
|
|
Of course it is. You'll have to open the file and parse it up using the Split function, putting each line/field into a DataTable object yourself. This DataTable can then be used as a DataSource in a DataGrid.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thanks for your help.......
|
|
|
|
|
Hi,
Could someone tell me how I could overlay a file's icon with my own overlay icon?
For example; I would like to set my overlay icon on a selected file and be able to remove the overlay when I want.
Any Help would be greatly appreciated.
thanks,
Zenly
|
|
|
|
|
I really need some help on this one...
I'm trying to make an application that I will be stored on a cd-rom.
This application will help me to execute .exe and .zip files
from the same cd-rom as my application.
But I can't find out how to execute files from the application path.
I remember that I have seen this kind of code somewhere. But that would
take me hours or even days to find that again.
I've tried using Shell and the Environment class but with
no good results.
So what should I do? Any tips?
|
|
|
|
|
Try: System.Windows.Forms.Application.StartupPath
|
|
|
|
|
Hi guys,
I'm programming in VB6.
I'm using a SSTab and a datagrid to show some informations of a table of a sql database. The number of Tabs i can have depend of the number of records i have in the table. (example: 5 records found, so i'll set my SSTab.Tabs propertie to 5 at runtime. "Like SSTab.Tabs=5")
And the information is displayed in the datagrid. But, when i have more then 1 record, i must create the datagrid at runtime too, so that i create a datagrid control array at design time and use this code at runtime to create my datagrid :
Load MSGrid1(TabIndex)
TabIndex is a variable that contains the number of Tab of the SSTab.
My problem is : The MSGrid1 created at runtime still appear in the first tab of the SSTab.
My question is how can i create the grid at runtime and make appear in the tab i want it to appear at runtime using VB6 codes?
Sincerely yours
Marc
|
|
|
|
|
Hello there
I want to make right to left window and it should display cross,Maximize and minimize buttons on the left side instead of right. this can be done in message box.. check this code on any event
Dim msg As MessageBox
msg.Show("Right ", Me.Text, MessageBoxButtons.OK, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, MessageBoxOptions.RtlReading)
I need this type of right to left alignment on form
any solution ????
Rizwan Bashir
|
|
|
|
|
Rizwan Bashir wrote:
I want to make right to left window and it should display cross,Maximize and minimize buttons on the left side instead of right.
[...]
I need this type of right to left alignment on form
I guess this is what you're looking for:
Creating Mirrored Windows Forms and Controls[^]
Best regards
Dennis
|
|
|
|
|
Thanks Dennis it solved my all the problems including treeview,listview and offcourse the form
Best Regards
Rizwan Bashir
Rizwan Bashir
|
|
|
|
|
|
Hi, the question i got is: how can i use the lame_enc.dll in a program i'm developing in vb.net, 'cause i cannot add it as a reference (because is not a COM component)???
If a have to call the dll using functions, could you please give me a little example about the way that i should do it?? or if there's another way (easier), well even better!!
|
|
|
|
|
victor_ba85 wrote:
Hi, the question i got is: how can i use the lame_enc.dll in a program i'm developing in vb.net, 'cause i cannot add it as a reference (because is not a COM component)???
Take a look at this:
C Sharp MP3 Compressor[^]
Even if you don't know C# it could still be a starting point to figure out how to use the DLL. You could also just integrate the project in your own solution.
Best regards
Dennis
|
|
|
|
|
How to create array of controls like labels or combobox at run time, so that when the user input an integer, it will create the controls dinamically. Can this be done? Thanks in advance.
<italic>Work hard and a bit of luck is the key to success. You don`t need to be genius, to be rich.
|
|
|
|