Jump to content
Xtreme .Net Talk

bpayne111

Avatar/Signature
  • Posts

    335
  • Joined

  • Last visited

Everything posted by bpayne111

  1. wow that's really cool, that would be much better than a macro any day...thanks for the good (and fast) response
  2. Just about everytime i create a new class i use the same 3 regions, Declarations, Properties, and Methods. I tried creating a macro to do this for me by letting it record my keystrokes. It worked ok but sometimes it screwed up and put stuff where it wasn't supposed to be. I know you can write macros using code... So how would i make a marco to do these regions for me using code? Thanks Brandon
  3. yes thank you that's what i wanted... i had to go to the basics of datatypes to find it (in other words i should have looked harder before i posted this)
  4. Is the max length of a string 255 characters? i know its a dumb question i just can't seem to find it in help. brandon
  5. I have a db i've created with fields defined but no records. I'd like to write to this db at runtime but.. i'd like to save it as a different file to reuse the blank db. How would i go about doing that? should i use a streamreader and writer? and just write the new file manually? or is there some sort of object that has a method to do this for me? brandon
  6. ohhh ok maybe that's the problem i had thanks man
  7. I know how to use them... but i thought they had limits as too how large of files they could use. Can a notepad file be bigger than a SreamReaders buffer?
  8. that sounds perfect... so it'll work as long as i do it line by line? (i could have sworn i had trouble with this before on another project
  9. I am aware that a StreamReader won't work for reading text files with large amounts of data. So what do i use instead? I need to input from various sized files into a database, sometimes the files may be very large. I CAN assume that the files will be no larger than a file in notepad though, for the data i'm reading always comes from notepad. thanks brandon
  10. I'd like to create a program that allows the user to query data in a jet 4.o db in a way similar access. is this a tough thing to do? i know how create an adapter during design time to do this but i need to do it during runtime. (i know enough sql to do what i need to do, i just don't know how to do it in code) are there any good examples on doing this anywhere around here?
  11. yup once i found the objects i was looking for everything came together just wonderfully. thanks for the help guys
  12. actually i'm using C# vb is fine though i can just switch syntaxes a lil... this timespan function... what kind of value does it return? i'd like number of days but i can do math if i have to. thansk for the help guys
  13. yes that is what i'm looking for but i'm going to need to display this compare this date and time with another to see how many days are in between... is that going to be complicated?
  14. Retrieving current date and time from system. I understand that there are math controls for dates and times but how do i get the current date and time so that i may do some math with it? and is this thread considered syntax specific? so that next time i will post things like this correclty? thanks brandon
  15. copy project button? i do not see a copy project button where do you find this? i understnad i don't have to use that but if it's there i'd like too ya know. and when it comes to using data connections on web apps.. i've heard there are some problems... any ideas on what i can do to avoid trouble before i get into the nitty gritty, transfer it and find out it doesn't work somewhere else?
  16. I need take a web application and send it from one machine to another. Both machines have IIS installed and running. Do i need to just put it in the wwwroot folder on the other machine?
  17. I'm trying to make a Control verb for a control i've designed. I know Divil has an article on this but it's for vb. Can i pretty much switch the syntax to C# and have everything work out the same? I'm probably too much of a newbie at C# to even try this anyway but I somewhat need it now for the project i'm making so i'm giving it a shot. thanks brandon
  18. fun i can't see the ship well though powerups would be cool
  19. Check out the ActivatedChild and ActiveChild methods in your main form...
  20. i'm gonna take it upon myself to answer for him... I actually thought that was a good idea (not great, but good for learning) because i see lots of people sitting in vb class typing == and wondering what's wrong. well anyway only using functions that are common to both would keep you from going 'errr ummm is that vb or c' so why not until you get to the point where you have to break the trend and learn the differences. My personal plan is somewhat different. I'm trying to master vb as well as i can so that any differences in C# will jump out and smack me in the face and i'll remember them right off the bat. but this whole issue is way off subject maybe we should start a new thread. I am personally interested in everyones ways of coping with multiple languages.
  21. thanks alot i figured it out now. that C# code kinda hurt my eyes but i made it through thanks
  22. I don't think you don't need to reformat your hard drive. Do you have a non distributable version of VS.NET? I have a version from school that won't let me distribute my applications. Maybe i can if i try hard enough but i'm pretty sure i can't with my version
  23. Do you need help with basic printing functions or the datagrid specifically?
  24. ohh yes i forgot about old option strict... good point divill i know i should be using it now but i guess i am actually just being lazy :\
  25. how can you determine which child is activated?
×
×
  • Create New...