Jump to content

holzer

Member
  • Posts

    20
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by holzer

  1. hi all, anyone knows of a way to add something to the context menu of a (or all) network connections? i know it's possible but can't find out how..
  2. hi all, i'm using an access db from .net. i have the following sql: SELECT tblReservation.ReservationID FROM tblReservation INNER JOIN tblRoomReservation ON tblReservation.ReservationID = tblRoomReservation.ReservationID WHERE tblRoomReservation.RoomID=? AND ((tblReservation.CheckIn>=? AND tblReservation.CheckOut>=?) OR (tblReservation.CheckIn<=? AND tblReservation.CheckOut<=?) OR (tblReservation.CheckIn>=? AND tblReservation.CheckOut<=?) OR (tblReservation.CheckIn<=? AND tblReservation.CheckOut>=?)) The question marks get filled in with OleDbParameters. The CheckIn and CheckOut colums are of type date/time, so the value for the field of the parameter also gets a value of type System.Date. oSql.AddParameter("tblRoomReservation.RoomID", oRoom.Id) oSql.AddParameter("tblReservation.CheckIn", dtCheckIn) oSql.AddParameter("tblReservation.CheckOut", dtCheckOut) ...etc This has worked this way for other queries, in fact the data gets into that same column via the same method without a problem. The query works fine in access (when i change the ?'s of course), but when i run it from .net, i get a "Datatype mismatch in criteria expression" error. In a desperate attempt to fix all this, I even tried to change all ? into #?# and add the parameters a Strings, i.e. dtCheckIn.ToLongDateString, etc.. This gives me a "Syntax error in date in query expression" Anyway, I'm getting a feeling this is because i try to compare the dates with > and < instead of plain =, but that's not what I need so.... As I said, it works in Access, so it must be possible. If someone could help me out here, that'd be really nice..
  3. hmm i've tried adding the enctype="multipart/form-data" property to my form (which is as far as i can see the only difference between your code and mine), and now whenever i actually attach a file, i get a "cannot find server or DNS error" is there like a setting i need to make in IIS to enable file uploads? and when i don't add a picture, i get a "Microsoft JET Database Engine (0x80040E07) Data type mismatch in criteria expression". taking out the picture part doesn't help it, so i suppose adding the enctype property also converts the other (text) fields to something else than string format... Edit: if I Response.Write the resulting SQL string, i get INSERT INTO tblProducts ( ProdName, CatID, ProdPrice, ProdStock, ProdShortDesc, ProdDesc, ProdPict) VALUES ('','','','','','','')where did all my form data go
  4. thx for your replies.. the thing is i'm making this thing for a friend of mine, it's a school assignment and it needs to use ASP and access.. if it wouldve been for me, i'd have used a decent db from the start... the reason im storing the files in the db is mainly for ease of management (delete record = delete image, etc) and because i'm not that good at asp, i thought getting to know the filesystem object would become an extra burden... the size of the db is not really a big issue since it's only administrators who will have the possibility to upload files. anyway, now that i have will have to manually search for the image, i might have to rethink that whole thing..
  5. ok, so i'm trying to put together an asp page and pull pictures that are stored in an access db. i have a showpict.asp that returns the picture using Response.BinaryWrite. so far so good, but the only thing i see are red x's. now when i define the content type as text and then open it in firefox, i can see that access appends some bit of data before the actual jpeg, mainly a few times the word "package" and the location the file was on my harddrive before i inserted it. i've done some searches and apparently this is normal behaviour for access, and i've even found a fix.. only that fix was for delphi, not asp, and my asp knowledge doesn't go as far as that i could convert it. so i was wondering if anyone knows of a way to get around this and just get a simple jpeg file out of the db just like it was when it went in? also, i seem to have a similar (even worse) problem when i try to upload a jpeg to the db from my page. might be that i'm doing it wrong, i'm using an <input type=file> tag and then just get the post data and upload it to the db without any further modification. however, these pics don't even open in access (the ones i manually inserted do), and when i do the same content type trick, i only see the location it came from with each letter seperated by a ':', no binary looking stuff whatsoever anyway, any help would be greatly appreciated, i'm really quite stuck here and i absolutely need to store those pic's INSIDE the DB.
  6. you're right... i would just hate buying the projector and then having to return the card and wait to use the projector till i get another one anyways, after looking at prices for cheap pci-e cards, i think i just might save another 100 and go for the sli after all
  7. @Mekrel: i know, but that's not the idea.. i just want to add another card to connect the other screen to, i have no interest in the actual sli function.
  8. i doubt you would get any use from it.. w2k3 has a network load balancing option but ive nevr seen it in xp.. you can choose which one takes precedence but that's about it ps: pls correct me if im wrong, i have a laptop with integrated 11mbps and pcmcia 54mbit wlan, and for transferring large files i connect it to 100mbit lan.. and it's been getting on my nerve that i can't add up all the bandwidth..
  9. that's what i meant indeed. or well maybe i'd like to have messenger open on the other screen just to keep an eye on it but with an a64 3500+ and 2gb of ram i think i should be able to pull that off how sure are you about this? not that i don't trust you it's just that i'd like to be 100% positive before spending another 100 euros on a gpu.. in non-sli mode, it's only a x1 slot, i know the bandwidth will do for 2D, but could it be that cards expect at least x8? is the nvidia driver prepared to run that kind of 3 monitor setup? i know back in the old one-output-card days you could add a pci card for a second screen, but is this the same as one for a third screen? on the other hand, i know in sli mode, you can run 4 screens while not in 3d mode.. hmmm.. maybe i should get another gf6600gt after all?! anyways, thx for your help so far!
  10. i'd defenitely go with the zalman for cooling, those things just rock... and for the mobo, i'd go with an asus a8n-sli, you probably don't need the extras of the deluxe version.. i have one here and it works like a charm.. anyway go for an nforce4 one, i have had nothing but bad experiences with via chipsets.. imho their crappyness is the reason why intel dominates the p4 chipset market the way they do..
  11. i just recently upgraded my pc with a geforce 6600gt with dual dvi (PCIe) and 2 flatscreens. for the mainboard, it had to be an asus and an nforce4 so i had to go with the a8n-sli, which offers 2 PCIe x16 slots, but i don't intend to ever use the sli feature. however, i am planning to buy an lcd projector soon, with dvi input ofcourse. so what i would like to do is the following: geforce 6600 -> connected to one tft and the projector, in clone mode, for gaming and video another (cheap) gpu in the 2nd slot -> connected to the other tft, only to extend my windows desktop onto does anyone have experience with this kind of setup? is it possible at all? i know in the good old agp days it was possible to add a pci card.. any help would be greatly appreciated
  12. i posted my method here, hoping that someone could finetune it.. but nobody did .. but it should give u a good starting point
  13. ok, so i have established the following method so far.. i am using the seperate installers for each program as i want to be be able to select which applications to install from winpe. downside is that you would have to find cracked serials for all apps as the suite serial will not work.. but hey, if you paid for it, you can use all the cracks you want imho.. and the same principle should work for the suite installer aswell.. so: 1)create setup.iss using setup.exe -R and move it 2)edit abcpy.ini: fill in name and serial (and change all DisplayXXXXX properties to NO - this may not be necessary) 3)run setup.exe -S -f2:etc..etc.. it's important to create setup.iss BEFORE you edit abcpy.ini or your setup.iss will be incomplete and you will get a resultCode -3 so far this has worked for all apps except for photoshop, for which i cannot seem to find a working serial.. as long as i run them manually and seperately on my normal system. however... when i do this from RunOnceEx, there are some probs.. first of all, acrobat complains about the printer spooler or something. i suppose this service is not yet started when runonceex is processed. i have not found a way around this yet, i suppose you could edit the abcpy.ini in a way so that the pdf printer is not installed, you could postpone application setup until windows has fully started (do it from startup folder in start menu, kill explorer.exe to remove GUI and use iernoncedll,RunOnceExProcess to start RunOnceEx), or you could try to start the printer spooler manually first (using net start in your batch file). any help would be appreciated here. but it gets worse... for some reason, installations hang sometimes (mostly golive - RunOnceEx just doesnt proceed), sometimes applications do not get installed, sometimes they do.. this behaviour seems completely random. sometimes all apps are there, even acrobat, sometimes only one, and even that one differs from install to install.. i have this suspicion though that acrobat f***ing up may be the root cause of all evil. after clicking ok on the error, runonceex proceeds to the next step but it seems that acrobat setup is still running (maybe rolling back the installation). this is as far as i can remember, it's been a few days and im at work now.. but i think its the simultaneous exection of multiple (similar) setups that f***s things up. i will have to experiment some more to narrow it down, but this is a very time consuming process.. i think it would be helpful if the installation would display a basic UI, similar to the msi /qb switch, but i have not yet found a way to do this. so if anyone knows.. anyway, some have asked me for a method to install adobe cs, well here it is, have your way with it, experiment - and please share your findings with me and others here.. may the source be with you..
  14. still nothing... let's just hope it works on a real dvd.. but i kinda got a bad feeling about it now..
  15. thats a pretty good idea.. gonna try it right away.. i just hope toe_cutter is right and it works when burned...
  16. nah, it's 10gb, and it hangs right at the beginning of windows setup.. thats not the time to worry about enough space for applications.. (i don't copy the source files to the hdd.. and then still..)
  17. i just finished integrating adobe creative suite, boasting my unattended dvd to 5.5gb... and now suddenly setup hangs at the beginning, where it says "Setup is inspecting your computer's hardware configuration..." it's obviously just the size because if i remove some apps then it works again.. i have only tested this on vmware actually, out of dl-dvd's atm .. but does anyone know of a size limit for unattened dvd's? is this maybe (hopefully) just a vmware thing?
  18. ok nvm it's working now.. don't use the setup.exe launcher, but rather: start /wait msiexec /i "ScanSoft OmniPage Pro 14.0.msi" /qb ISX_SERIALNUM=your-serial-here i suppose u could use setup.exe and the /v switch aswell.. so.. anyone a suggestion for SP1 ?
  19. didn't do the trick either, but thx anyway... any other suggestions? anyone?also does anyone know if u can integrate SP1 into the AIP? as far as i can see it's only available via the built-in update function.
×
×
  • Create New...