@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6



Comments:

<0> <Darkclaw> dude, i really look up to you but i hate to tell you, i really think OnErr0r is ***y the way he gets mad at me
<1> I'm not mad. Just enforcing a ban. *shrug*
<0> he thinks ur ***y
<1> They all do
<2> *spooge*
<2> that gives me an idea for a movie
<2> "The Three Spooges"
<0> heheh
<3> if i wanna kill / remove a file within my OS folder but i dont know what drive it is on
<3> what could i use?
<3> Kill (filename)
<3> ?????
<4> if you don't know where the file is, how do you expect to delete it?
<5> format c:
<4> use the GetSpecialFolder API or an environment variable



<4> oh, and a bunch of question marks is nothing but an annoyance
<3> sorry
<5> sorry just doesnt cut it, make amends, apologize with your life
<4> 1) learn some patience and 2) (this one is the much more important one) learn to ****ing do your own research.
<6> i like #2
<5> i like to hit women
<7> hi
<7> i've completed making my own combobox except for one thing: determining (from within the control) if the user has clicked outside of the box so it knows to hide the list... how can i do that? (vb.net 2005)
<8> Is anyone here available to help me out with a simple OleDBCommand issue?
<8> Does anyone know a server/channel where I could get some help with a .NET OleDBCommand issue then?
<7> kelgor, i've played with oledb a bit lately
<8> have you used any parameterized queries?
<7> parameterized? you mean criteria?
<8> Like: "UPDATE Equipment SET NSN = @NSN WHERE Equipment.NSN = @OldNSN" for example.. and then you define what the parameters @NSN and @OldNSN are.
<8> using OleDBParameter
<7> no i didn't use oledbparameter, sorry
<8> ok, do you happen to know any other IRC servers/channels that are active with some people who may be able to help me?
<7> #vb.net on dalnet
<7> not many people there but i usually get them talking
<7> this channel is usually fairly active with knowledgable people, so come back if you don't get your question answered
<8> ok, thanks for your help
<7> of course there's always source code sites
<7> pscode.com or codeproject.com
<7> no problem
<8> i've been searching the web
<9> Kelgor: OLEDB doesn't have named parameters, use ? placeholders
<8> I thought you could do either because i've used them before I'm almost certain.
<9> SqlCommand supports named parameters
<8> The thing is, I'm using a SQL Server 2005 db in this case, but i don't want to use the System.Data.SQLClient cl***es because this needs to work for both Access and SQLServer
<9> Access certainly doesn't support named parameters.
<9> Actually, let me take that back, it kind of does, but using a different syntax.
<8> i've used them in access
<9> Well, OleDbCommand doesn't support named parameters.
<8> Why would an OleDBParameter have a Name property then?
<8> The constructor even calls for it.
<9> So that you can track them
<8> I've done this before but for some reason it isn't working anymore.
<8> Here's just one link to a site that goes along with what I'm saying. http://aspnet101.com/aspnet101/tutorials.aspx?id=1
<9> http://msdn2.microsoft.com/en-us/library/system.data.oledb.oledbparameter.parametername.aspx
<9> Check out the Remarks section
<8> yeah, i just read that
<8> I'm confused to how it worked before though :-/
<8> I just tried changint them to ?'s and it's working now but I thought that would cause a problem with SQLServer 2005
<8> I guess not.
<8> Thank you very much for your help though.
<8> Don't know why I didn't just try the '?'s earlier
<9> I believe that it's generally prefered to have database access separated into different cl***es for each database given the differences in SQL dialect and functionality.
<8> I agree that you are correct in saying that. Unfortunately that involves nearly twice as much code for the database interactions (one set for OleDB and one for SQL Server) and I don't have enough time alotted to do that for this particular project, especially when SQL Server supports OleDB and i'm not doing anything SQL Server specific.
<9> This is true, much more work.
<8> Ok, well back to work on this now that this is worked out. Thanks again Halo_Four and you too fignuts.
<6> anyone have a car cd player they want to get rid of?
<10> Is there a way to output the final SQL text when using a command object with parameters?
<0> final sql text?
<3> Senz
<0> sql statement?
<3> in VB using registry I/O... how woudl you disable the windows firewall in xp
<3> Savestring HKEY_LOCAL_MACHINE, "\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile", "EnableFirewall", 0
<3> doesnt seem to do it right
<0> why not use WMI to shut off the service instead?
<0> seems easier
<3> in wmi? how would u do that



<0> going to msdn and finding out how to manage systems services with wmi
<0> of course
<3> ah the path is ok, just forgot to remove a \
<3> but ill look into wmi too
<0> id prefer WMI anydays
<0> right
<11> how can i hardcode a 2048 byte file into my vb program as a variable
<0> jpeerless
<0> resource file
<11> okay
<11> ill look into it
<12> disabling firewalls and hardcoding 2mb files, buncha virus makers here
<12> shame on you
<11> haha
<11> na
<11> will the .res files be part of my program or in the directory?
<12> it will be part of the .exe
<11> okay thanks
<6> wtf how does 2048 bytes = 2mb?
<12> oh
<12> sry 2K :P
<6> :)
<11> heh
<12> anyone know a good place to recruit programmers for projects?
<11> for loading the files.. loadresdata will work for just a .bin file that has hex data in it?
<11> ah
<11> i gotta load it into a byte arrray i think
<11> then write that to file
<12> well duh :P
<12> nah, yeah filestreams take an array of bytes
<3> /msg jpeerless Open "C:\Windows\System32\wscntfy.exe" For Binary As #1
<3> Close #1
<3> err
<3> sorry
<11> using the COPY command in vb..how can i copy multiple input files into one file.. the DOS command is ike this.. copy /b file1 file2 file3 outputfile
<11> how can i merge a bunch of binary files to one in vb
<13> hi guys
<13> is running CRC on your program at startup..a good way to check if your app is cracked / modified?
<14> sure
<14> a better way is md5
<13> can the program check its exe file?
<13> while its running?
<14> sure why not?
<13> ok..
<13> any ideas on how to do it?
<14> afaik it doesn't lock for reading
<14> it's pretty straight forward, now isn't it?
<11> cant the person cracking your **** just have it JMP the check?
<13> well. does it lock when its the main app that started?
<13> JMP?
<14> JPeerless, of course
<13> ?
<13> so its worthless?
<14> **** knows
<13> ok
<13> too much work?
<14> aint no security expert
<11> heh
<13> how about. making 30day trail with registration.. whats the concept on that?
<14> you can probably find something online about app security
<11> every app can be broken
<11> :/
<14> yup
<13> yup i know.
<13> but my app is geared twards average pc users.
<13> i wanto to have it distributed on shareware sites..
<13> anyone have experiance with that?
<14> does the average pc user try cracking his software?
<14> noone wants to buy your crappy software anyway
<14> so you might aswell make it open source
<13> i doubt that :)
<13> ud be suprised
<14> link?
<13> not available at the moment.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #visualbasic
or
Go to some related logs:

#windowsxp
#beginner
#politics
#python
+edit control +line wrap
#computers
unix grandchilds processes
trance kabab tiesto
#hardware
use my easy button to find your easy button



Home  |  disclaimer  |  contact  |  submit quotes