|
|
I have several date fields in a database I am displaying. Some of the fields do not have a date value yet (they are set to null), but I would like to use the datepicker to put data into them. The problem is that fields that don't have a date in them from the database are filled in with the current date. If the user saves the record the current date will be saved to all the fields that should be blank (null).
Is there a way to display (or not to display) the datepicker field without a date in it?
|
|
|
|
|
How to invoke mouse hover event on task bar menues indiviual buttons. Please if some one help me,answer my question as soon as possible iwll be thank ful to u.. thanks in advance.....
☺«««DTA»»»☺
|
|
|
|
|
How can I compare 2 images using Visual Basic.
I want to compare a image with its master image and see if it has a spot at certain position
Jack
|
|
|
|
|
I use vb6. I want to read bmp's pixel. For example 1st pixel, 2nd pixel or coordinate system (1,1), (5,12).
I examinated a few example about change bmp's . I modified them. I didn't read pixel right.
1st pixel black and 2nd px white > I use "for ... next" read value 1.0 2.0 3.255 4.233
|
|
|
|
|
I'm trying to make a video game on visual basic. it has to have a christmas theme and incorporate random numbers. does anybody have any ideas or tips that i could use???? thanks
|
|
|
|
|
Hi guys, I need help on widows clipboard. My app (VB.net) run in the systray, and it registers some global hotkeys like "Alt + Num1", I need that this hotkey be as the "Ctrl + c" hotkey, so when I press Alt+Num1, set the clipboard with the selected text of the active window.
Thank you in advance
Damian
|
|
|
|
|
Hi,
I am re-writing an application that used access as the backend.
I am using t-sql.
I have a query with this line, and I would just like to know the best way to convert it to sql.
CCur(Format(DSum("[Amount]","Line_Item_Payments","ChargeID=" & [Charges].[ID] & " AND Type =" & 4),"#,##0.00;;;0.00")) AS PC
Basically it looks in Line_Item_Payments for every charge in Charges and totals it by type.
I have been working with this query for a bit and have been unable to have workable results come from it.
Please help,
-Edward
|
|
|
|
|
Hi...
i confuse how to make my data grid keep up to date...
couse when i update my data from SQL, my datagrid is still old data...
for example if i add my data....
thx for helping....
:::Widhie:::
|
|
|
|
|
I have created a project of approx. 4400 lines of code (I used the project line counter to check it )
It looks great, but it is slow when I first click on a button in my program, to logon a user on a computer. (I created a cyber cafe management program)
I also created a sample of this project in C# and it seems faster there.
Is it possible that VB.NET delivers slower code than C#?
I know it's not possible in theory since it's all IL, but still...
"Every rule in a world of bits and bytes can be bend or eventually be broken"
|
|
|
|
|
Hi again,
When I stick the AxMsFlexgrid1 on to my form and when I run it, It just displays the form witout the datas in it,
If I remove it then all the datas appear on the form.
Like I am populating my combobox1 from the data set.
When I have the flex grid on my form the combox comes up empty.
But if I remove the Flex grid the combobox is populated from the data set.
What am I missing?
Tnx
|
|
|
|
|
Hi all,
Can some one help me as to why I am getting this error mssg?
@ da.SelectCommand.CommandText = "select orig,ordno,name,chkno,blno,state,adr1,orddt,txble,txcrt from cshhdrpf where orig = " & arr(1) & "and ordno = " & arr(2)
Error Mssg:
Additional Information: Index was outside the bounds of the array.
Dim arr As array
arr = Split(cmb1.Text, " - ")
Dim da As New OleDbDataAdapter()
Dim ds As New Data.DataTable()
da.SelectCommand = New OleDbCommand()
da.SelectCommand.Connection = conn
da.SelectCommand.CommandText = "select * from Test1 where orig = " & arr(1) & "and ordno = " & arr(2)
da.SelectCommand.CommandType = CommandType.Text
Tnx
|
|
|
|
|
Just like the error message says... The index 1 or 2 doesn't exist in your arr array.
You're either not splitting your cmb1.Text text with the correct splitter or you're not getting the result you expect. Try stepping through the code and see what arr = Split(cmb1.Text, " - ") is actually returning.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
I want to learn VB, but do not have access to Visual Basic, nor the funds to get hold of the s/w. I would be grateful if anyone could suggest a free software similar to the M$ version.
Downloading is not a problem. Hope to listen from you soon.
Regards,
Ajit
"Insanity is my Birth Right!!!!"
|
|
|
|
|
Ajit Jagannath wrote:
I want to learn VB, but do not have access to Visual Basic, nor the funds to get hold of the s/w. [...] Downloading is not a problem.
Downloads are no problem? Then this is for you!
Visual Basic 2005 Express Edition Beta[^]
Best regards
Dennis
|
|
|
|
|
how can convert textbox value to double?
|
|
|
|
|
<br />
Convert.ToDouble(yourTextBox.Text);<br />
Remember to catch exceptions as this function will throw one if it the text cannot be converted.
|
|
|
|
|
Try this:
Dim d As Double = Double.Parse(txtFromDate.Text)
The function Double.TryParse() also may be usefull.
----------------------------------------------------------------------
T Manjaly
My C# Tutorials articles www.dotnetspider.com
|
|
|
|
|
Hi, I found the sample of vb6 and mschart control from here.[^] I want to know, is it possible if I use this mschart control in VB.Net application????
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Yes you can (like any other COM control. Open up a form, right click into your toolbox, select add/remove items, click the COM tab, search for 'Microsoft Chart Control...', check it and click ok. Now you can drag drop it like any .Net control onto your form.
Depening on what you are trying to do you should search for some .Net charting controls. The MS charting control is not really bad but has many slight flaws and also some stranges issues. Some chart controls for .Net are freely available here on CodeProject.
|
|
|
|
|
Robert Rohde wrote:
Yes you can
Ok, thank you very much for your information. I will try to do in VB.NET.
Robert Rohde wrote:
The MS charting control is not really bad but has many slight flaws and also some stranges issues
That is the main point that I always consider when I try to use COM object in VB.NET. So is it possible to do some basic task in VB.NET??? And can you tell me what is the main issue???
Robert Rohde wrote:
Some chart controls for .Net are freely available here on CodeProject.
If it is possible, please give the URL to me. I try to find most .Net chart control but it is available only in ASP.NET application. I want to use .Net chart control in windows form but it is not possible to find it. I will try to find myself too and let you know.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Sure it is usable and depending on what you want to do it can be a very good control. The main reason not to use it (for me) was that some (very special) behaviour could not be altered.
A good chart control on CodeProject can be found at:
http://www.codeproject.com/csharp/ZedGraph.asp
If you look fpr something really professional (which also costs a bit) take a look at Dundas Charts:
http://www.dundas.com
|
|
|
|
|
Thank you very much for your information. I already check some part of this article and found that the code is written in VC.Net. Is it possible to write it in VB.NET??? If possible then I might use this control instead of Mschart.ocx control.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
This isn't related to VB but to this forum. How do I post code in the forums where it retains the format. The <code></code> tags don't seem to do what I expect them to do.
|
|
|
|
|
OICU812 wrote:
How do I post code in the forums where it retains the format. The <code></code> tags don't seem to do what I expect them to do.
Use the the pre tag instead [<pre>many lines of code</pre>]. It then will look like this:
public void Foo()
{
}
Best regards
Dennis
|
|
|
|