|
hi,
How to add a folder to an ActiveX dll Application.
also how to save a ActiveX dll application as .vpb
plz help
bye
Paritosh
|
|
|
|
|
You can't add a folder to an application. An application is not a container, so how could you possibly add a folder to it?
Or are you asking how to add a folder for an ActiveX .DLL PROJECT?
What is a .VPB file? You can't save as application as an arbitrary file. What are you trying to do with this?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hi i am doing a project , in which i want to add a radio buttons as a new column, i mean there should be a new column which consists of radio buttons ,its a window application , plz help me out
...sam...
Impossible is nothing
|
|
|
|
|
How to count freqency of letters appeared in a textbox as input?Let say we type 'I believe', thus the code should count how many each letter appears and also in percentage.
e.g. Letter 'E', Frequency = 3, percentage = 0.3 % (out of all letters)
Any code example on this? thank you~
mijan
|
|
|
|
|
mijan wrote: How to count freqency of letters appeared in a textbox as input
Homework question?
How do you think the problem would be solved?
Here are some highlevel hints: Create some way to map letters to a count. Iterate through the string and add one to the relevant count for each letter you encounter. Add one also to an total counter (so you know how many letters there are in total, so you can work out the percentage) When you finish the iteration of the string, iterate through the map and output the frequency of each letter and its percentage (by the way, you need to work on that calculation as the letter 'E' occurs 37.5% of the time, not 0.3%)
If you have a problem on any particluar aspect, show us what you tried and then we can help you fix it.
ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?
|
|
|
|
|
I've tried using javascript, which kind of easier.I only tried out two letter which 'a' and 'b'..how can i proceed until 'z' in much easier way?
var letter, length, total, percent;
total = 0;
total1 = 0;
letter = window.prompt('Please enter a letter', '');
length = letter.length;
var my_array = letter.split("");
for(var i=0;i<length;i++){
if( my_array[i] == 'a' ){
total++;
percent = total/length * 100;
}
if (my_array[i] == 'b' ) {
total1++;
}
}
document.write('The number of \'a\'s you have input is ' + percent)
document.write( 'The number of \'b\'s you have input is ' + total1)
mijan
|
|
|
|
|
mijan wrote: I've tried using javascript
Given that this is the Visual Basic.NET forum, I would have expected you to be using that.
Anyway, did you think of using an array to hold the totals in? Create an array with 26 elements starting each at 0. item[0] represents A; item[1] represents B; and so on........
ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?
-- modified at 11:21 Thursday 2nd March, 2006
|
|
|
|
|
how do i connect my database to my visual studio express project. When i add information on my form it must then be added to my database in the specific tables. Please i need your help, can your helpe detailed.I am using Microsoft Access 2003.
Please Help: SOS
Leavashni
|
|
|
|
|
Hi,
I want to make our VB Project support multilanguage/multilingual. As of now it doesn't support all the characters. Please sugguest & Help.
Thanks
Ranjan
|
|
|
|
|
There is the language Property for every form. Begin with one language. Enter the test property for every control, then change the language of the form and fill the text properties for the new language. If the language is found it will be set to the windows startup language (I hope so, didn't tried it on my own, but a fellow worker did this).
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|
|
Hi, Thank you for the response. I am not able to find the Language option for forms.Please provide details.
Thanks & Regards
Ranjan
|
|
|
|
|
Well, you find it in the property-window (there I found it) when you have selected the form itself.
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|
|
I'm doing the movie ticket reservation system. Is there any related topic. The problem is there is seat plan function for user to choose for their seats. What tools shall i use and is there anything related that might help? Thank You..
Siew Chin
-- modified at 3:51 Thursday 2nd March, 2006
|
|
|
|
|
Specifically, what part of this are you having a problem with? The UI, database, ...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
anybody here? please help me!
how to change vb98 project to vb.net2005 project?
can i get a tool??
|
|
|
|
|
hi
just open that VB98 project in Visual Studio2005 IDE..it will ask you to convert Automatically...follow the wizard and it will convert..it
bye
Paritosh
|
|
|
|
|
I have a csv format report "A" and an excel file "B" contains two macro, the first macro will convert the csv report to a xls file "C", after that I want to copy the second macro in "B" to "C", so that I could open "C" and load the macro directly in the future. My question is how can I copy macro from "B" to "C", I'd appreciate any help you provide.
|
|
|
|
|
Sir,
I want to extract the files and folder icon and finally want to add the icons to the treeview with their text.
Please help me
Thanjs and Regards
Pankaj Garg
|
|
|
|
|
In the article that I posted a link to in your last post, there is a link at the top of the text of that article. Using the System Image List[^]. The code is in VB6, but is easily converted to VB.NET.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I have created a small word processing application, and I have created a new file extension (“.sln”) to save files. Like
RichTextBox1.Save (FilePath & “/myFile.sln”)
Now, I want to open myFile.sln using my word processing application when I double click Myfile.sln
Do you know any codes to do that?
Please help me
chatura
|
|
|
|
|
If u want to open file with extension .sln in text box then in my opinion u need to copy the text of the file to clip board and then paste it in text box.
In this way it would appear as if file is opening directly in text box
|
|
|
|
|
Chatura Dilan wrote: Now, I want to open myFile.sln using my word processing application when I double click Myfile.sln
Do you mean when you double click in windows explorer? If so this is a windows setting for the default application associated with a file extension. (eg, for most people .doc will open with MS Word).
Tip: If you Right click a file you can choose "Open with..." then simply brose for your exe. As long as your app supports executing with an argument providing the path to the file then all should be dandy (eg, c:\myapp.exe "c:\my files\myfile.sln").
|
|
|
|
|
Yes I mean that I know that. but it does not work. My application is already associate with .sln files. but when I double click 'myfile.sln', my application starts and loads a new document file. but it does not load 'myfile.sln'
chatura
|
|
|
|
|
First you have to understand what windows does (by default) when you associate a file extension with an executable program. It executes the .exe passing the file name as the first parameter like this:
C:\myFolder\MyExecutable "C:\myData\the_file_I_d_clicked.sln"
So, you need to support arguments in your executable, and if the first argument is a valid location of a file, then open it at startup instead of a blank document.
Here, I wrote a little example for you:
I had a textbox and a button, on the button I have this code:
String str = tbInput.Text;<br />
StreamWriter sr = new StreamWriter(@"C:\test.abc");<br />
sr.Write(str);<br />
sr.Close();
Then in my app start code I have this (note: string[] args are the arguments passed into the exe)
if(args.Length>0)
{
string path = args[0];
if(Path.GetExtension(path) == ".abc" && File.Exists(path))
{
StreamReader sr = new StreamReader(path);
this.tbInput.Text = sr.ReadToEnd();
sr.Close();
}
}
sorry, forgot which forum I was on...here in VB.NET
if(args.Length>0)then
string path = args[0]
if(Path.GetExtension(path) = ".abc" and File.Exists(path))then
StreamReader sr = new StreamReader(path)
this.tbInput.Text = sr.ReadToEnd()
sr.Close()
end if
end if
-- modified at 8:24 Thursday 2nd March, 2006
|
|
|
|
|
Thank you for your reply. I’m trying to change it according to my application..
Sorry for my delay
chatura
|
|
|
|