Jump to content
Xtreme .Net Talk

coldfusion244

Avatar/Signature
  • Posts

    269
  • Joined

  • Last visited

Everything posted by coldfusion244

  1. If I am understanding you correctly, when your application starts your textbox's forecolor is black, and you want that a different color?
  2. Well, as I said earlier, you could get a complete byte-byte image with ASM. If anyone knows a better route without using a 3rd party DLL (as panther stated earlier) I would be very interested.
  3. No problem :D ;) :)
  4. Sure, but as I have said before, my VB isn't that great...
  5. I made a small demo program for you to check out :D Hopefully you find it educational... Sorry about the bad VB coding standards.. I haven't done vb in a long time.... textboxarray.zip
  6. Why don't you use a MySQL or Access database? For Access, you don't need an ODBC. That would be the simplest way. All you would have to do is add the Access modification and connection information into your project and checking it vs. the database. Access is only good for 3-5 connections. If you are looking to have more connections to the database at one time. MySQL, your host would have to support it, but it would allow for a much higher yield or users. It also has higher scalability and such... Hope this helps...
  7. I guess I shouldn't have assumed that he needed a low level copy of the hdd. Hence why I suggested ASM. Note: Don't assume.
  8. Using XML config files isn't always the best approach...
  9. It would help if you posted the ini file and code.
  10. Speaking of tags, when are we going to get nice C# tags?
  11. By your psuedo code above.... I gathered this. I'm not sure if it's what you wanted... Yeah my VB is horrible, so be nice... Private Sub Greet() dim strLastStage as string = "Intro" dim strResponse as string = "" Intro: Print "Hi, I'm some guy." strLastStage = "Intro" MakeDecision: Select Case strLastStage Case "Intro" 'Main Decision Branching strResponse = DisplayChoiceList() If strResponse = "MoneyYes" strLastStage = "MoneyYes" ElseIf strResponse = "MoneyNo" strLastStage = "MoneyNo" ElseIf strResponse = "Intro" Goto Intro: Else strLastStage = "End" End If Goto MakeDecision:'Call itself again to select correct course of action Case "MoneyYes" Print "Here's some money" Print "Do whatever you want with it." strLastStage = "Intro" 'Set back to intro to have more decisions come up Goto MakeDecision: 'See above Case "MoneyNo" Print "Fine, be that way." strLastStage = "Intro" 'See above Goto MakeDecision:'See above Case "End" Print "Bye!" 'Don't do anything, the conversation has ended and the Sub will exit End Select End Sub
  12. Ah good on QBasic ;) I believe in VB.NET it's Goto?? try this, it's been a long while since i've written VB...bare with me... Private Sub Test() dim a as long = 1 goto c: a = 1567 c: text1.text = a End Sub Should say a = 1.
  13. Well put! :D
  14. These are the times I love knowing assembly :D I don't think using ASM in VB would give you the best results, but it's one way to make an exact copy of the disk.
  15. Since there is nothing in my mail ever worth reading (I normally just send pictures [they are worth 1,000 words]) I really could care less....And if it wants to search my pictures..go ahead!
  16. Use ExitWindowsEx API... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/exitwindowsex.asp
  17. Check out the FlashWindow API for 1 blink and FlasWindowEx API for a selected number of blinks. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/flashwindowex.asp
  18. I know you can validate the credit card number without talking to a processor. For example American Express cards always start with xxxx-xxyx etc etc. This is true for most CC's, although you'd have to find how they find the checksum and such and how they compute the security digits.
  19. Here is a good sample project, should be everything you need. http://www.codeproject.com/csharp/file_operations.asp
  20. Yeah pinky, your way is much Better code because it wouldn't matter if an update came out or such and changed the Z-order. But for simplicity and simple code sake FindWindowEx works nicely :D
×
×
  • Create New...