|
Because you're using the nasty built in stuff, you're just plain hoping it magically writes the right SQL for you. Write your own SQL and then you'll have control over what it does.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
Thanks for that, I'll do that. Sorry for the late reply, been in meeting all day.
Kris MCP
|
|
|
|
|
i have some problems to do a rotation in vb.net.. i found out a few codes but when i applied it in vb.net...it failed..
i hope someone can helped me. tq
|
|
|
|
|
dunkin_ina wrote: i have some problems to do a rotation in vb.net..
Rotation of what?
dunkin_ina wrote: i found out a few codes but when i applied it in vb.net...it failed..
What do you mean exactly with "failed"?
dunkin_ina wrote: i hope someone can helped me.
Not likely unless you get a lot more specific...
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
actually..i want to rotate a map..like to do a automatic rotation to a maps for vehicle used. i'm using visual basic 2008 to do the coding for the rotation, but i dont know how to specified the code just for rotation part.
|
|
|
|
|
If you want to rotate an image, then the grapics object as a rotation transform. But, as others ave said, we're left guessing waht you want as you give us nothing to work on.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
here, i just want to know how i'm supposed to rotate the map / object in vb.net?..what code should i use..
|
|
|
|
|
The code that draws the map uses a graphics object. Set it's rotation transform first, and reset it after.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
rotation transform?..do you have an example for the codes in vb 2008?
|
|
|
|
|
On the cell elave event how do you get the name of the column? I am wanting to ren certain calculations for certain columns and need to knw what cell was just left.
Thank you, Chester
|
|
|
|
|
Try this:
DataGridView1.CurrentCell.OwningColumn.Name.ToString
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
hello ,
is this possible in VB Net???
I deed write what we can call a wordprocessor ( well an advanced editor )
and i would like to make it WYSIWYG !
but I do not know how
any one can help??
please
if you_know_the_solution then<br />
help me<br />
else <br />
just a comment <br />
end if
|
|
|
|
|
Yes, it's all possible. Now, get to work
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
He asked in another forum earlier
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hello friends,
I have developed a windows application in VB.Net.
I want the IP Address of the user using the application.
I found some code on internet but it is returning the local IP Address.
I need the main IP Address provided by the ISP.
Can anyone help me, plz its urgent.
Thanks,
Nagendra.
|
|
|
|
|
Does your application actually interact with the internet ?
http://articles.techrepublic.com.com/5100-10878_11-6120605.html[^]
does that return the computers IP address and not the IP address on the internet ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Yes it does.
It returns my computer's IP address but i want Internet's IP address.
|
|
|
|
|
I hav already tried method told by u, it gives me my local IP address but i want the main IP address provided by ISP
|
|
|
|
|
Hi,
IFAIK there is no code for getting the public IP address; what you need is a web page that
provides you such information, such as http://www.perceler.com/getipadr1.php[^]
You could use HttpWebRequest.GetResponse() to use it programmatically.
|
|
|
|
|
That is considered an inappropriate thing around here. People help when they can.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
nagendrathecoder wrote: I want the IP Address of the user using the application.
Prompt the user to turn back. Use a web cam to quickly take a snap of it and we can extract the IP address from the image.
OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus
Best wishes to Rexx[^]
|
|
|
|
|
That was not funny. You should crack jokes like these in some social communities.
|
|
|
|
|
Thanks for your answers, i got the way of doing it.
|
|
|
|
|
Hi, beginner programmer here, first post
I am writing a program that uses a arraylist of class part, and class Car consists of
Public Class Part
Public name As String
Public price As Double
End Class
Public Class Car
Public name As String
Public parts As New ArrayList
End Class
There is an ArrayList of Part and I would like each Car to consist of various Parts and the price would be totaled for a Car etc.
I would like to be able to change the price of a Part and if a Car contains that part I will be able to retotal the new amount.
By using something like
Car.parts.Add(partArraylist.Item(i))
Am i adding a copy? reference?
Any advice would be great, or am i approaching it the wrong way?
Thanks
150
|
|
|
|
|
Unless you're using VB 1.0 or 1.1, you should never use the arraylist class. Although I guess in VB it doesn't matter b/c the language is weakly typed, but ideally you should use generic collections such as List<Car> ( I think it's List(Of Car) in VB ).
150db wrote: By using something like
Car.parts.Add(partArraylist.Item(i))
Am i adding a copy? reference?
If Part is a class, you're adding a reference, if it's a struct, you'd be adding a copy. So, yes, you could do that, and then change the price of the part, and all the cars with that part, should reflect the new price. Then you can have a method in the car that iterates over it's parts, adds them, and comes up with a total.
What if a car has more than one of the same part ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|