|
I would like to convert my code from VC#.net 2003 to VB.net 2005 as I use VB more than C#.net and this is the only version of 2005 VStudio I have and I need the project I'm working on done whithin 2 weeks. Is there any free programs that will convert all the code?
In the end we're all just the same
|
|
|
|
|
Hi,
Probably this will help you a bit.
http://www.carlosag.net/Tools/CodeTranslator/Default.aspx
Best Regards,
Apurva Kaushal
|
|
|
|
|
If you're ok to convert 100 lines at a time, you can download the demo edition of our Instant VB converter (www.instantvb.com).
You'll find the results much more accurate than the on-line converters.
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter and VB to C++ converter
Instant J#: VB to J# converter
Clear VB: Cleans up VB.NET code
Clear C#: Cleans up C# code
|
|
|
|
|
I want to creat my own visual styles in my application similar to that of vista's black shell. How would you go about doing that? I know that this code:
void Main() <br />
{ <br />
Application.EnableVisualStyles(); <br />
Application.DoEvents(); <br />
Application.Run(new Form1()); <br />
}
Gives the app a WIndows visual style, but I want it my own style. How would I do that?
In the end we're all just the same
|
|
|
|
|
hi
in XP you can get similar tasks to group together on the task bar. what i like to do is group programs i invoke through a navigation toolbar program but with programs aren't named the same and have some customizations, but shares a common DLL. is this possible? if so how do i do this. i havent seen anything on the web that has anything about this. also if possible if this could also be done in Win2000 using some kind of API?
|
|
|
|
|
I am making a web browser in VB.net 2005 and need some info..
I want my Web browser to block pages with certian words like: Sexual terms and swear words etc...
What i want is if the explorer comes to a page with "F*ck" for example, on it more than 4 times, A message box will appear saying "This page has obscene language. Do you wish to continue?" Yes will let you continue and no will load up a html page that is in the same directory as the .exe file. How would you do this?
In the end we're all just the same
|
|
|
|
|
Hello.
I have a listview to which i can add or delete items. It has alternating colors. When adding i am just coloring the last item depending on the listview count.
When deleting i must recolor the listview as i can delete any item not just the last one.
For i = 0 To lvSelected.Items.Count - 1
If i Mod 2 <> 0 Then
lvSelected.Items(i).BackColor = Color.NavajoWhite
Else
lvSelected.Items(i).BackColor = Color.White
End If
lvSelected.Refresh()
Next
But after this code the listview hasn't changed the colors. It changes the colors as the code tells only after click in the listview.
I tried with lvSelected.update but still nothing.
What can i do so that after the delete button click the listview repaints and shows the right colors?
|
|
|
|
|
Sir,
I was executing the insert sql query in vb.net 1.1 and there occured an error.
Operation must use an updateable query.
Please sort out this problem
Thanks and regards
Amaneet Brar
|
|
|
|
|
Since you are obviously aware of my psychic powers to read your thoughts (because you have provided nothing upon which I can help you in this forum) I will provide my answer by the same means.
Did you get it? Good. Glad to be of service.
...Steve
1. quod erat demonstrandum
2. "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." I read that somewhere once
|
|
|
|
|
|
Post the query causing this error so that someone can help you out.
|
|
|
|
|
This is a common error if you are using an Access database. It means that you haven't set up the proper file permissions.
---
b { font-weight: normal; }
|
|
|
|
|
Actually, around the noobies, the most common error is trying to use a DataAdapter with a query that returns a dataset without a primary key column, which I believe is this guys problem.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Is the primary key needed to insert records?
---
b { font-weight: normal; }
|
|
|
|
|
Not really, but it is needed by the CommandBuilder object to create all the other SQL commands using the SELECT as a template. It's needed by the UPDATE and DELETE queries.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi....
I have encounter this problem when i am reading info from my excel file using VB6, the characters it's display is in ? format. How Can i solve this problem
Help urgently required
Thanks a Million
KaKaShi HaTaKe
-- modified at 3:33 Tuesday 16th May, 2006
|
|
|
|
|
Can I place button control in Client area of MIDI Window.
|
|
|
|
|
yes add panel and place what ever you want over there
Rizwan Bashir
|
|
|
|
|
panel control ? where is this control located.
|
|
|
|
|
Right there in the tool box.
Best Regards,
Apurva Kaushal
|
|
|
|
|
how to use standard security connection string to connect
sql 2005.
|
|
|
|
|
Do you mean SQL Server authentication or Windows authentication? Be more specific in your request and provide a bit more information so we can help you.
...Steve
1. quod erat demonstrandum
2. "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." I read that somewhere once
|
|
|
|
|
i want to use sql authentication.i created a new user account with sql mangement studio.but i can't connect using it with sql authentication.
i use same username and password on my coding.
getConnectionString_local = "Server=Z1\SQLEXPRESS;Database=" & DBPath & "test;User ID=amilapradeep;Password=amilapradeep;Trusted_Connection=False"
it's this
then it gives error as "Login failed for user 'amilapradeep'. The user is not associated with a trusted SQL Server connection."
but i can connect using "attach db" method it's connecting
|
|
|
|
|
ok i got the anwser.i had not specified as mix authentication on sql server,
thanks
|
|
|
|
|
i am getting the following error while building the setup project
Error 1706 no valid source could be found for product
should i need to insert ".net setup disk 1" while building the setup project
Can any one Help me
Thanks in Advance
thanks
|
|
|
|