|
paras_s12 wrote: how i can connect to database mysql from notepad
It cannot be done.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
i have a textbox for user key in the value, but i need to convert the data into two decimal place, for example,
user input: 123
then i will put this input to a function to convert it into 123.00
user input: 123.456
then i will put this input to a function to convert it into 123.45
how i code this function ?
Regards,
Chee ken
|
|
|
|
|
Dim Result as Decimal = Ctype(FormatNumber(UserInput,2), Decimal)
Steve Jowett
-------------------------
Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
|
|
|
|
|
I had downloaded the spftware "XAN Game studio Express".
On msdn.com site thet had shown that we can make games using 1)Visual C# 2) Visual Basic 2005 Express Edition & 3)Visual C++ Express edition.
I had knowledge of c++ ,c & VB.Net
But i dont know about C#
So can i make this game using VB.Net ???
Please help needed urgently
HERE IS THE LINK : http://msdn.microsoft.com/vstudio/express/game/[^]
|
|
|
|
|
At the moment XNA game studio express just works with C#. There is no technical reason why you cant use the XNA framework with VB.NET because XNA is basically just an extension of the dotnet 2 runtime.
The things you will be missing most using VB.NET is the game templates but as long as you add the correct references to your VB project you should still be able to use XNA.
I will just add a slight correction to what i have just said. It applies to XNA dev for the PC only. VB.NEt automatically adds references to the microsoft.visualbasic namespace which is not available on the 360. The link below should provide all the info you need.
http://www.alanphipps.com/VisualBasicdotNET-XNA.html[^]
Jon
|
|
|
|
|
Hi,
I am reading from a CSV file. I have a drop down with the name of the column header. I loop through the rows in a data set. The value in the CSV file is R 106.80. I am using VB.NET 1.1. Here is my test code:
Dim boolReturn As Boolean
Dim dblResult As Double
boolReturn = Double.TryParse(ds.Tables(0).Rows(i).Item(ddlSitePrice.SelectedItem.Text), NumberStyles.AllowCurrencySymbol, CultureInfo.CurrentCulture, dblResult)
Response.Write(dblResult.ToString() + "<br />")
The result it brings back is 0, why doesn't it want to convert?? I am past frustrated.
Please can someone help me??
Regards
ma se
|
|
|
|
|
Have you checked the value of the boolReturn variable, so that you know that the parsing worked at all?
Is the current culture suitable for parsing the data?
---
single minded; short sighted; long gone;
|
|
|
|
|
do doubles start with 'R' in your language ?
|
|
|
|
|
Sebastian T Xavier wrote: i am developing a text editor windows forms in c#.
Hmmm...maybe you should try the C# forum then.
Posted by The ANZAC : "WWBD, What Would Buffy Do?" : "I don't know man, she's stronger than me"
|
|
|
|
|
I want to access a file from a remote machine through a VB.net windows application. How it can be done?
|
|
|
|
|
Hi
you can do it very easily, i developed a software where my word file were saved and accessed from a single server. to do that you have to customize the accessing path for file that is : -
path="\\servername\drivename\path.extension"
*here server name is the remote computer name is your network.
*drivename is the sharable drive name of the server (but here you have to mention the share as name for the drive and dont use : after drive letter.
with regards
Yogesh Agarwal
|
|
|
|
|
I need to in step wise ,how to create DB in SQL server 2005,
I would like to have an explian about it also
|
|
|
|
|
Pls post your Question in the Suitable Forum.
For more Details about Creating Db in Sql Server 2005 Get it[^]
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
I'm developing an application for a samll company to handle their customers over the phone for my second year project.
What I want to know is how to set the user (administrator/client) privilages and how to validate when they are logging on to the system.What kind of security part I can include for this project and how should I retreive data from the SQL database.
|
|
|
|
|
Are you looking to do this from the database level or from within your app?
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
I want to do it in database level
|
|
|
|
|
Have you put a table in the database for holding user info such as name, password, permissions, etc? You could also just create user accounts on the database with different permissions on different tables and views/queries. The second option maybe a tough one if you have a large set of users.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
i want use global variable for accessing in all the form in my projects
how ?
sathish
|
|
|
|
|
The easiest way is to add a new Module to your project. Modules are forms without graphics, and their greatest feature is that variables in them that are declared "public" or "friend" are visible in all parts of your project.
Thus, create a module (modGlobals is a good name) and put a line like this in it
Friend gsMyString as String = Nothing
and all of your forms and other modules can access this variable.
Hope this will help you.
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
I have a scrollable panel box which have many picturebox with different location with different image .
now i want to save or print that panel container.
any one help me.
|
|
|
|
|
What do you want to "save"? The locations of the pictureboxes? The images in them?
|
|
|
|
|
i want to save panel. means panel with all picturebox in a single picture.
when that panel is saved as picture i can easily print that picture with printdocument1.document.
|
|
|
|
|
In that case, you'll have to create a new Bitmap, the size of the Panel. Then, iterate through the pictureboxes on the Panel and get their images and draw them onto this Bitmap object. Then you can call the Save method on the Bitmap to save the image.
|
|
|
|
|
I want to read data in Farpoint spread and how can I know when farpoin spread have no data? So if know please help me.Thank you!
|
|
|
|
|
Hi,
I have a program which displays records in Visual Basic ListView control with checkboxes. The problem is: I don't know how to select all those checkboxes at once in a click of a button. Can somebody help me with this? Thanks.
|
|
|
|