179 Posted Topics

Member Avatar for smelf1

Have you tried just EventLogEntry.Category ? (I saw you said evententry.category) [url]http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlogentry.category(VS.80).aspx[/url] msdn says that this gets the text associated with the number, that doesn't work?

Member Avatar for rapture
0
203
Member Avatar for mjsmikey

Is this similar to what you want to do? [url]http://www.hunterstone.com/library/RichTextBoxHS.htm[/url]

Member Avatar for mjsmikey
0
268
Member Avatar for eitan

To do what you ask you can make global variables and have in your button click variable1 = txtTextbox.Text reset the textbox if you so choose and for button 2 then variable2 = txtTextbox.Text Since you don't want to do it that way then you're going to either have to …

Member Avatar for eitan
0
295
Member Avatar for emilio
Member Avatar for rapture

Hi all, I'm researching how to move data from a C#.Net web program into our accounting MAS90 database and back. I can do this manually, what I want to attempt to figure out is how to make the system do it without me having to hit a button. I'm hearing …

Member Avatar for rapture
0
165
Member Avatar for rak4u

Wow, tons of good stuff. And while glancing through it I noticed several items that would have answered post questions recently from people in these forums. Thanks!

Member Avatar for rapture
0
135
Member Avatar for rapture

I'm new in Java and supposed to write a program that prints a number into a diamond shape. It doesn't print correctly, can someone point out where I'm messed up? [code] private static void diamondOfAsterisks(int number) { int spaces = number / 2; int stars = 1; int row; int …

Member Avatar for rapture
0
101
Member Avatar for culebrin

Well just searching on this site gave me some responses to this question, a google search on vb.net how to write to the event log brought up a ton of things. And last but not least have you used the help feature in Visual Studio? I looked for "write to …

Member Avatar for culebrin
0
186
Member Avatar for mjsmikey

Is this similar to what you want to do? [url]http://www.hunterstone.com/library/RichTextBoxHS.htm[/url]

Member Avatar for rapture
0
106
Member Avatar for smelf1

Smelf did you get this? If not then disable ipv6 on your machine and I think his code works fine [url]http://wiki.williams.edu/download/attachments/17035/Disable_IPV6_Vista.pdf[/url]

Member Avatar for rapture
0
830
Member Avatar for sivak
Re: sql

That wasn't easy for me to see and if you hadn't pointed it out I don't know if I would have caught it. how in the world did you see that randomly?

Member Avatar for LizR
0
121
Member Avatar for gouki2005
Member Avatar for BlackSun
0
88
Member Avatar for tableray
Member Avatar for rapture
0
101
Member Avatar for vandenzergen
Member Avatar for tableray

Did you search on google for things like dynamically add dropdown items from combobox or do anything to prepare for this? What do you have so far and where are you stuck?

Member Avatar for rapture
0
189
Member Avatar for hspatil31

Maybe this will help for starters [url]http://www.daniweb.com/forums/announcement58-2.html[/url] Now, what have you done so far?

Member Avatar for rapture
0
106
Member Avatar for smelf1
Member Avatar for ronjustincase

First of all you don't have much information as to what it is you need help with . . . you don't know where to begin you have an error etc Secondly, there is a thread for "Visual Basic 4 / 5 / 6" that might be of better use …

Member Avatar for kain_mcbride
0
142
Member Avatar for vampke

I have no idea what he means by My.computer either - however saying that he can't use System.Data is weird. Are you typing above everything else Imports System.Data ???

Member Avatar for waynespangler
0
144
Member Avatar for shazzy99

We need a way to "force solved" any thread that is either open for too long or solved but the poster won't mark it . . .

Member Avatar for ddanbe
0
124
Member Avatar for Lahlahliam

I would agree with the others, show some effort and we can help you through it. One thing I did notice by searching daniweb is that there is already an answer to this question that I think does what you need to do. [url]http://www.daniweb.com/forums/thread136104.html[/url]

Member Avatar for rapture
0
86
Member Avatar for sam1
Member Avatar for rapture

ok, I'm taking my first Java class and in my first week. I've searched but this is different from .Net so much that I have a headache just getting eclipse set up and how to navigate the environment. That said, I have a program that would take me 5 minutes …

Member Avatar for rapture
0
104
Member Avatar for wien

I'm just a guy trying to learn so take my advice with a grain of salt - first off, I agree with the others, and they are not heartless, just tired of a lot of people working on a project for school somewhere who want us to write their code …

Member Avatar for LizR
0
186
Member Avatar for saj_amo

Isn't this nice, this thread is apparently a matching making service now.

Member Avatar for rapture
0
229
Member Avatar for smelf1

I'm newer to vb.net so the others might change this a bit [code] Private Shared Sub GetInstalled() Dim uninstallKey As String = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" Using rk As RegistryKey = Registry.LocalMachine.OpenSubKey(uninstallKey) For Each skName As String In rk.GetSubKeyNames() Using sk As RegistryKey = rk.OpenSubKey(skName) Console.WriteLine(sk.GetValue("DisplayName")) End Using Next End Using End Sub …

Member Avatar for Ramy Mahrous
0
652
Member Avatar for donaldunca

Sure no problem [code] Dim newName As New FileInfo("filename.gif") newName.MoveTo("filename2.gif") [/code] This should work. You can look at fileinfo.moveto() or file.move() for more information here is an example [url]http://www.example-code.com/vbdotnet/rename-file.asp[/url] you can google "vb.net rename file" and get more. Does that help?

Member Avatar for waynespangler
0
143
Member Avatar for drfarzad

Hey, this semester I have to take a class in statistics, will you guys do my homework for me in that one too? * maybe it's not an assignment, it's a lab or a final exam by way of program writing. :)

Member Avatar for Ramy Mahrous
0
358
Member Avatar for joejo

This is an interesting subject and one I hadn't considered. There is some stuff on MSDN - [url]http://msdn.microsoft.com/en-us/library/756hydy4.aspx[/url] an interesting approach for starters although just a pick not [url]http://www.beansoftware.com/ASP.NET-Tutorials/Dynamic-Web-Sites.aspx[/url] I found a great site here [url]http://www.c-sharpcorner.com/UploadFile/mosessaur/aspnetlocalization02042006165851PM/aspnetlocalization.aspx?ArticleID=96602e53-0fb1-44ec-a67b-1c68b05eb2e1[/url] But if you do a google search on multilanguage website or asp.net multilanguage website …

Member Avatar for rapture
0
168
Member Avatar for Filipe11

Filipe11 Don't guess, look for an answer and then post a question. It helps when you show you're trying. I know it's frustrating but you're never going to go anywhere in programming if you just rattle off a bunch of guesses. Read this [url]http://www.techotopia.com/index.php/C_Sharp_List_and_ArrayList_Collections[/url] And what does your textbook say …

Member Avatar for rapture
0
88
Member Avatar for rawmode

Ok, you're going to have a couple of steps to solve this I think. (I'm a noob in programming as well so don't expect a ton) First thing I see is your error :"Only assignment, call, increment, decrement, and new object expressions can be used as a statement" I found …

Member Avatar for LizR
0
152
Member Avatar for atplerry

What do you have that is throwing the error? And what error are you getting? If you just want examples of VB.Net and SQL statements look here [url]http://www.startvbdotnet.com/ado/sqlserver1.aspx[/url] if you want help with your problem show us what you have, we can't just do it for you.

Member Avatar for rapture
0
108
Member Avatar for onlyvidya

Here's something that might help you [url]http://www.dbtutorials.com/advanced/data-access-update-vb.aspx[/url]

Member Avatar for onlyvidya
0
105
Member Avatar for lich

I think you should have marked the post solved for him as this is a different question bro C# conditional OR operator is || [url]http://msdn.microsoft.com/en-us/library/6a71f45d(VS.80).aspx[/url]

Member Avatar for ddanbe
0
194
Member Avatar for gofinmath

There are ways to get help by paying but it would be much better if you can do it yourself. We will be glad to help you but you need to help yourself first. 1. Start by mapping out what you need to do in plain english, pseudocode or a …

Member Avatar for rapture
0
94
Member Avatar for barclays82

Correct, However I will give you these tips to start: 1. Think about how you want this to work 2. Write it out using plain english, pseudocode or a flowchart 3. Go over what you have and make sure your logic fits in with the suggestions given already 4. Start …

Member Avatar for waynespangler
0
106
Member Avatar for Tank50
Member Avatar for Rocket452

Yes - here is one that is pretty straight forward for setting it up [url]http://www.geekpedia.com/tutorial97_Basics-of-using-DataGrid.html[/url] now to be able to sort them make sure you have allowsorting = "true" in the html of the datagrid as well as sortexpression in the html: here is an example I have used [code] …

Member Avatar for rapture
0
458
Member Avatar for onilu

Set a breakpoint and step through the program - my guess is that you don't hit the true ever. Otherwise you may need to display more code

Member Avatar for rapture
0
80
Member Avatar for Tank50

I can't follow this either - I see B.T.Columns.Add("SHOP_CODE"); is in red so I assume that means that is where you get the error? I don't see where SHOP_CODE is declared. (and remember, I am new to C# and programming in general so don't be too harsh if I missed …

Member Avatar for LizR
0
118
Member Avatar for rapture

ok, I'm asking another question now.... Previously I had code to add the requester and asignee emails, if the are both empty then I need to build the list. Here is my code: [code] private string BuildUserList(int p_intSendToRoleID) { DataSet dstUsers = new DataSet(); …

Member Avatar for rapture
0
127
Member Avatar for rapture

I'm having problem in my conversion of a case statement from VB.Net to C# and need some help. I'm not reading the right material or I'm missing something somewhere . . . Here is what I have: [code] switch (true) { //Case strRequesterEmail <> "" And strAssigneeEmail <> "" case …

Member Avatar for rapture
0
100
Member Avatar for bigunn

Free book [url]http://www.c-sharpcorner.com/UploadFile/mahesh/csp08202007084545AM/csp.aspx[/url] google c# for beginners, C# for dummies, c# tutorial etc and read, read, read then practice, practice, practice lol

Member Avatar for rapture
0
86
Member Avatar for rapture

Hello. I'm charged with taking a site I helped create in VB.Net 1.1 to C#.Net 2.0 - I'm just starting to research this and wondered if anyone has done it and if you can direct me to some good material . . . I need to add a new module …

Member Avatar for rapture
0
253
Member Avatar for Unrealx_

Sure boot to a command prompt or boot to the recovery console or remove the hard drive and plug it into another system as a slave, I think you can do it that way as well . . .

Member Avatar for Unrealx_
0
133
Member Avatar for Programmer666

I'm not sure what it is you are asking. Basic steps are 1. Design the system 2. Code the system 3. Test the system 4. Deploy the system of course that's very basic. If you need to know how to do the project then that's completely different. I'm not sure …

Member Avatar for Programmer666
0
108
Member Avatar for rapture

Hey all, Does anyone have a good resource for me to read/use as I begin using C# more. I'm still very new to the language and have found that there are tons of ways to do the same thing, however many of them are the wrong way to do it …

Member Avatar for LizR
0
88
Member Avatar for hisheeraz

Try [code] sql = "SELECT * FROM tblDriver WHERE dName ='" & lbDriverName.SelectedItem"'" [/code] I think that should work - you have to have the whole statement surrounded by double quotes but to add the selected item I think you put it within double quotes within single quotes . . …

Member Avatar for hisheeraz
0
135
Member Avatar for tyserman5674

What about right after Try inserting If Me.txtInterestRate.Text <> "" /// do all of your stuff End If

Member Avatar for tyserman5674
0
163
Member Avatar for Tyrone.Wilson

Hmm, all the way back to VB6 eh - Actually you might get a better answer in the VB 4|5|6 forum than in the .Net forum. Garbage collection is different in VB6 from .Net

Member Avatar for Tyrone.Wilson
0
105

The End.