Search:
Type: Posts; User: thetimmer
Search:
Search took 0.15 seconds.
-
Good deal and good on you for updating your post with this fix. Does it matter though that now you've changed that value globally? Probably doesn't but it's something to consider.
-
You're going to have to do a little more than you think to make this work smooth. I'm sorry that I used LINQ here but I don't have time to figure out a simpler search algorithm for your text.
...
-
Let's try this approach, how about you post a bigger example of the code you are creating than what you have posted so far. I think we need more context to see what you're trying to do.
-
Looks to me like you're going to have to create a custom control to meet ISO 8601.
http://stackoverflow.com/questions/31656769/monthcalendar-control-displaying-non-iso-8601-compliant-week-numbers
-
what event are you using to trigger this code? Should use TextChanged. You'll want to add more code to put the cursor back after the text has been updated.
-
I've only read about strong names, not had to create them but since no one else has replied I thought I throw in my 2 cents... actually someone smarter than me's 2 cents. It looks like you need to...
-
You might try getting the Json.NET library installed
http://www.newtonsoft.com/json
-
Are you wanting the other values on the form to automatically update when the user changes the exchange rate value? If that's what you want then just put code in the text boxes TextChanged event
...
-
So you need to add a textbox to your form ( or one of your forms ) so a user can enter a conversion value?
-
Did you ever get this resolved? I had another idea for your issue but if you have it I won't waste your time.
-
any chance you pasted more than 1 textbox on the form? In your code can you set textbox2.text = "Foo" and still run it?
-
I'm not sure but looking at http://www.connectionstrings.com/access/
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccessFile.accdb;
Jet OLEDB:Database Password=MyDbPassword;
...
-
have you tried anything yet? do you have any code to post?
There are a few different ways to do it..
One is to catch the datagrid keyDown event, and if it is the Delete key, delete the selected...
-
Also, I don't think connection string paths can have spaces.
-
good deal, glad to help. Please mark this thread resolved... and good luck with your dissertation.
-
that being said, definitely do what NeedSomeAnswers said because that will help you overall as a programmer to solve things on your own.
-
this line is suspicious...
Dim sql As String = "insert into tblUserDetails ([UserName], Username, Password) values ('" & TextBox1.Text & "','" & TextBox2.Text & "')"
You have 3 column names,...
-
One last tip. If it isn't too daunting for you being that you said you're a nooby, try to follow the following code...
If Not Single.TryParse(txtNum1.Text, sngNum1) OrElse _
...
-
I don't think you need the ULong. Just leave it as Single and change your calculation line to
sngAns = System.Math.Abs(((sngNum1 * sngNum2 - sngNum3) * sngNum4) - (sngNum5 * sngNum6 *...
-
you'll need to actually create a collection of ListViewItems. What you're trying to do would work with a ListBox but not a ListView.
-
Yes, I would agree with techgnome, can we see the code for SetFormPos.
Also please remember to wrap your code in [C0de] tags. Select your code and select the # button above.
see it makes...
-
What's going on in the Forms Load event? Can you post that?
-
I don't think the OP has starting and ending " in his textbox string. My guess is the "'s you're seeing in your file are artifacts left over from deleting the text out of the file manually at some...
-
A database is just a tool used to store, search, and recall data quickly. The most popular type of database currently is called Relational which means it stores data in tables and some tables have...
-
-
I'm not great with LINQ but here was one example.
Dim msg As String = "PRINTER STATUS" & Environment.NewLine _
& "ERRORS: 1 00000000 00000100" & Environment.NewLine _
...
-
Edgemeal, how might you do this with LINQ ?
-
What are you holding the return value in, a string, stringbuilder, array, ...?
If it's a string look at
string.split
-
Also, you need to check
insertcmd.ExecuteNonQuery() to see if the integer value returned ( which is your number of records affected ) is greater than 0 before showing
MsgBox("New User...
-
have you looked in your database directly to see that your user records are getting created from your insert statement?
Also this
Dim insertqry As String = "insert into...
-
Just making the code readable.
Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
'sql query to select database data
Dim selectqry As...
-
What do you mean by
did nothing happen? The text example you posted did not have any "^FT" string tokens in it.
-
I have a usercontrol with a webbrowser control on it compiled out to it's own assembly. This control worked in my project prior to breaking it out to its own assembly.
Now the goal of doing this...
-
Did you check out the SortedList class ?
You could use it this way though I'm sure there are much more elegant solutions...
Dim DataFileName As String =...
-
...please wrap your code segments with code tags, much easier to read.
I need to read a saved text file into an array, and then sort it numerically. This is rather hard as the text file is :
10...
-
maybe it's a naming convention issue and Series.Manufacturer.HardwareType.HardwareTypeCode and Series.Manufacturer.ManufacturerCode & Series.SeriesCode are all static members?
-
why not manually add the columns like you mentioned and use a if statement in the Hidden ( or is it visibility ) property of the column? or will the columns that return be an undefinable set?
-
wes4dbt , The answer I was hoping for, didn't know you could do that. thanks.
-
I appreciate the input but I really need to attach the object directly to the datarow or datacolumn object versus accessing the datagrid ( in this case an infragistics ultragrid )
-
Is there a way to store a custom object in a DataRow or DataColumn?
Basically I'm looking for the equivalent of a tag property for a DataRow or DataColumn. I looked into ExtendedProperties for...
|
Click Here to Expand Forum to Full Width
|