179 Posted Topics
Re: 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? | |
Re: Is this similar to what you want to do? [url]http://www.hunterstone.com/library/RichTextBoxHS.htm[/url] | |
Re: 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 … | |
Re: your 'from' is a valid email address as well not just a name? | |
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 … | |
Re: 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! | |
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 … | |
Re: 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 … | |
Re: Is this similar to what you want to do? [url]http://www.hunterstone.com/library/RichTextBoxHS.htm[/url] | |
Re: 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] | |
Re: 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? | |
Re: I was going to add that the two outputs are the same . .. | |
Re: Will the position change? I would think you could use String.Insert() | |
Re: Does this site help you enough [url]http://www.perlmonks.org/?node_id=477517[/url] | |
Re: 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? | |
Re: Maybe this will help for starters [url]http://www.daniweb.com/forums/announcement58-2.html[/url] Now, what have you done so far? | |
Re: wow smelf1 you're just full of questions lately. :) | |
Re: 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 … | |
Re: 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 ??? | |
Re: 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 . . . | |
Re: 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] | |
Re: you code it in the button click event | |
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 … | |
Re: 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 … | |
Re: Isn't this nice, this thread is apparently a matching making service now. | |
Re: 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 … | |
Re: 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? | |
Re: 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. :) | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: Here's something that might help you [url]http://www.dbtutorials.com/advanced/data-access-update-vb.aspx[/url] | |
Re: 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] | |
Re: 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 … | |
Re: 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 … | |
Re: 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] … | |
Re: 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 | |
Re: 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 … | |
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(); … | |
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 … | |
Re: 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 | |
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 … | |
Re: 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 . . . | |
Re: 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 … | |
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 … | |
Re: 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 . . … | |
Re: What about right after Try inserting If Me.txtInterestRate.Text <> "" /// do all of your stuff End If | |
Re: 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 |
The End.