|
hackerhcm wrote: When I add a new item "abt" . How can I add that new item ("abt") in alphabetical order
Set the listbox control's Sorted property to True.
...Steve
"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." (Translation: I'll show you the way, but not write the code for you.) I read that somewhere once
|
|
|
|
|
|
Dear All!
I want to to create ie toolbar in vb like google toolbar.
what basic requirement is there? It is ok to develope toolbar in vb?
Mamtesh Kumar
|
|
|
|
|
Yes, it is, but it's hardly trivial. You'll be creating a COM-based server form a COM-based client (IE).
Search the articles for toolbar and you'll come up with this list[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
I have create an application to associate extension with our any selected application.
It is created by setting registry values as,
HKCR - .tot
HKCR - MyAppName - shell - open - command - "C:\MyAppName.exe"
Now it is working fine. But when I choose right click on any ___.tot file, it shows only MyAppName icon under openwith menu.
How do I set my Application name near that icon on right click open with menu.
Regards
Rams.
Be simple and Be sample.
|
|
|
|
|
is there anyone who knows how to encryo a file in vb.ent for pocket pc????
urgent!!! thanx....
go ahead...do best on my works....
|
|
|
|
|
Is there any way to detect (in a vb windows application) what languages are available for display? On my computer (running Windows 2000) my cultureinfo is en-US but I have script support for Traditional Chinese. Yet I have not found a way in my windows app program to detect that I have support for the Chinese language. In my program I want to show the text in Chinese if user can display Chinese, otherwise I want to keep all text in english.
aeiJohn
|
|
|
|
|
Such a simple task such as this is messing with my brain.
I have a button which toggles a web browser control being visible
or not. I have two images, one for the browser being visible, one for
it not. I have the button working so when i click it, the browser disapears
and reappears but i cannot figure out how to get the button to change its
background image back and forth. Please help. thank you.
heres my code...
<br />
Private Sub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button12.Click<br />
If AxWebBrowser1.Visible = False And Panel1.Visible = False And Panel2.Visible = False Then<br />
AxWebBrowser1.Show()<br />
Panel1.Visible = True<br />
Panel2.Visible = True<br />
Else<br />
AxWebBrowser1.Hide()<br />
Panel1.Visible = False<br />
Panel2.Visible = False<br />
End If<br />
<br />
End Sub<br />
|
|
|
|
|
Which button property are you referring to? BackgroundImage or ImageIndex? If the latter, add an image list to your form and populate it with the two bitmaps you want to toggle between on the button. Then add this code to the button click event.
With Button1
Select Case .ImageIndex
Case 0 : .ImageIndex = 1
Case 1 : .ImageIndex = 0
End Select
End With
<pre>
Do or not do. There is no try.
|
|
|
|
|
I appreciate the response however it does not work.
Any other ideas??? Or some more left out details on how to do the above integration???
|
|
|
|
|
Sorry. No other KISS solutions. The code works great in my test project.
Do or not do. There is no try.
|
|
|
|
|
Are you talking about making a button that works like a CheckBox control? Push the button and it stays looking pushed?
Create your own button class, inheriting from CheckBox, then supply your own drawing code based on the value of the checkbox.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello,
We need a component for the users where they can to paint (or model) and work flow or procces or job.
I'm try to FlowChart and GoDiagram.
If you know for a best component, please tell to me.
We need to add, read and modify properties for a symbols and read the flow from the beggining to the end.
Than you
(Happy Days)
gangeles
|
|
|
|
|
Have you looked into Biztalk server?
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
My Blog[^]
|
|
|
|
|
Thank you for your reference, I try to Install Biz Talk but have troubles with configuration, meaby Biz talk is a solution, I read about biz tal can do that.
If you use Biz talk, is possible that I give to the user an application where he can paint or model a procces?, I can read the work flow of this procces?.
I'm waiting for your best commentes and one more again THANK YOU and have happy days.
gangeles
|
|
|
|
|
Hey i have tried to use the new version of VB.NET2005, Which was so cool. I am currently doing my project under this new system.However, it seems that it doesn't support the old version files very well. i got a lot of errors with opening the old version file? Anyway, i mean the code is still the same i still can run the old application. Anyone like to comment on this new version?
|
|
|
|
|
Yes, I am using it.
You should really convert your projects over if you are going to use them. You might need to clean up some things due to changes between 2003 and 2005 but for the most part the conversion should be clean.
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
My Blog[^]
|
|
|
|
|
Hi All,
I have a solution which refers SSPI(Security Support Provider Interface).
When I try to build the solution using following command:
devenv.exe "<solution path="">" /rebuild "Debug|X86" /out "<logfile>"
It does not get build. But the same gets build in "Release" mode.
While checking the build log, I found out one thing.
My solution contains 4 projects.
In the build order SSPI project is given first.
In the release mode when sln gets build, it is picking the SSPI project and building it first but in the debug mode it start building from the second project mentioned in build order and skips building SSPI project. As a result project referring SSPI fails.
Any idea why?
Please help out.
Hiral
|
|
|
|
|
Hi,
I creating one application in vb.net, which gets commandline arguments as file path. But I am getting the argument path with ~ symbols. How could I remove it?
I/p: myApp.exe C:\TEMPOR\Conten\6LHIJY3D\sample_~1.txt
Needed: I need the argument without ~ symbol.
Rams.
Be simple and Be sample.
-- modified at 5:53 Wednesday 21st December, 2005
|
|
|
|
|
Looks like you are picking up the short version of the path name.
Can you try placing your entire command line in double quotes when you enter it in? Might help preserve the argument you are passing in.
c:\ "program_name.exe c:\very\very\very\long\file\path.filename.txt"
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
My Blog[^]
|
|
|
|
|
Hello
I have been trying to development a id generator but don't know exactly how to do it. The id must have an abbreviation + year(05) + id ie. refernce=abbrev+05+id. If anyone can give some advice on this it is much appreciated. Also if it helps the abbrev comes from a database on sql server.
Thank You
Paul Mc Gann
gfhg
|
|
|
|
|
I'm not exactly clear on what you mean by "id" generator. You're using "id" to refer to the entire reference (abbrev+05+id) and as the last part of the reference. Are you asking how to concatenate abbrev, 05 and id? Or how to generate a unique string to tag onto the end of the reference? Or what?
Do or not do. There is no try.
|
|
|
|
|
How about making an idGen table, with an auto_increment column in it:
Create table idGen <br />
(GenID int not null auto_increment,<br />
Abbrev varchar(3),<br />
Year char(2))
Then, when you need a new Unique ID, insert into this table and retrieve the id inserted:
Insert into idGen (Abbrev, Year) values ('AA', '05')<br />
select Abbrev + Year + ltrim(str(GenID))<br />
where GenID = @@identity
Roy.
|
|
|
|
|
Hey Paul,
AS I Understand you want code to generate the unique Id
So here is the code
Public Function GenerateID() As String<br />
Dim length As Integer<br />
Dim guidResult As String<br />
length = 10<br />
<br />
guidResult = System.Guid.NewGuid().ToString()<br />
'removes the hyphen<br />
guidResult = guidResult.Replace("-", String.Empty)<br />
<br />
Return guidResult.Substring(0, length)<br />
<br />
End Function
BY this code you can generate the desired length Unique ID
Hope this works for you.
Hema Chaudhry
|
|
|
|
|
Hi,
Does anyone know if it is possible to format a floppy disk using vb.net
Thanks
John
|
|
|
|