Forum: Visual Basic 4 / 5 / 6 Aug 14th, 2009 |
| Replies: 2 Views: 619 You have to quote string like this
rsMyRS.FindFirst "Qes= '" & replace(txtQuestion.text, "'", "''") & "'")
btw get rid off VB6 and move to C#, VB6 was hot 10+ years ago - not bad for... |
Forum: Windows Vista and Windows 7 Aug 14th, 2009 |
| Replies: 1 Views: 516 windows.h should be OK :-) serial port is nothing more than kind of file so you open it, get handle and can start to work with. For more details check MSDN ... |
Forum: Windows NT / 2000 / XP Aug 14th, 2009 |
| Replies: 6 Views: 326 Probably file is really corrupted - this occurs in certain cases e.g. damaged CD disk. |
Forum: MS SQL Aug 3rd, 2009 |
| Replies: 5 Views: 184 So you have many records and you want to see only pairs of rows created in less than 3 sec time window, right? |
Forum: MS SQL Aug 3rd, 2009 |
| Replies: 5 Views: 184 Are talking about a form of soft realtime? Please try to explain why is 3s limit so important for you, maybe it would be much easier to help you. |
Forum: Visual Basic 4 / 5 / 6 Jul 29th, 2009 |
| Replies: 1 Views: 258 The only straightforward way is to set cellbackpicture. You have to, however, reset old row's picture, set the new one and restore row and column. Nothing difficult, but annoying |
Forum: C# Jul 28th, 2009 |
| Replies: 1 Views: 205 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall |
Forum: OS X Jul 27th, 2009 |
| Replies: 4 Views: 361 Thanks for details. All what you need to do is add few (trivial version shouldn't be longer than circa 50 lines of code) extra lines into php code to put data from web page form into xml attachment... |
Forum: OS X Jul 27th, 2009 |
| Replies: 4 Views: 361 Of course is :icon_cheesygrin: but you have to specify what kind of action you are looking for e.g. copy to email + a web page just for you with data, only web page, automated import to your... |
Forum: Visual Basic 4 / 5 / 6 Jul 21st, 2009 |
| Replies: 2 Views: 337 Give up shell, you have to start new process by API call, get stdin and stdout handle and you can send/read there commands directly. It can look difficult but it is piece of cake - all what you need... |
Forum: VB.NET Jul 21st, 2009 |
| Replies: 11 Views: 331 C# combines good performance of C++, compact syntax of C and practically oriented approach of old VB. But be warned C# is still .NET language so forgot C style "when I say, what I say, exactly - no... |
Forum: VB.NET Jul 21st, 2009 |
| Replies: 3 Views: 926 public static bool IsValidEmailAddress(string sEmail)
{
if (sEmail == null)
return false;
else
return Regex.IsMatch(sEmail, @"... |
Forum: C# Jun 26th, 2009 |
| Replies: 4 Views: 586 I am not sure about that, but unsafe could do the trick... |
Forum: C# Jun 23rd, 2009 |
| Replies: 3 Views: 336 plus don't forget to check up network settings - firewalls and antivirus can do funny things |
Forum: PHP Jun 8th, 2009 |
| Replies: 4 Views: 365 SELECT DISTINCT DATE_FORMAT |
Forum: C# Jun 8th, 2009 |
| Replies: 1 Views: 636 It depends on how big is the data you are dealing with. For example few lines can be inserted handy written script.
Few hundred lines can be inserted from script-generated sql script like:
... |
Forum: C# May 28th, 2009 |
| Replies: 6 Views: 520 visit www.sysinternals.com and find filemon utility - you can monitor any filesystem activity and find what is wrong. You can download handle.exe utility (commandline) to find snapshot of opened... |
Forum: Visual Basic 4 / 5 / 6 May 28th, 2009 |
| Replies: 1 Views: 976 RTFM. If you have not any you should have a software from modem vendor so do little reverse engineering - line dump when receiving sms manually and find secret of the steel. |
Forum: PHP May 28th, 2009 |
| Replies: 0 Views: 245 Hi,
I have a php script which generates loooong 500kB+ scripts. If there were gzip used it should greatly improve performance. I have found this magic line:
<?php
ob_start( 'ob_gzhandler' );... |
Forum: ASP.NET May 26th, 2009 |
| Replies: 4 Views: 377 You are doing what google does not want you to do - so do not be surprised that they cut you off. Send an email to google and try to explain them why you need to do what you are trying to do and ask... |
Forum: ASP.NET May 26th, 2009 |
| Replies: 0 Views: 671 Hi,
I have this problem - IIS 7 :confused: and web service installed on. When is url in form http://server/folder/file.asmx - everything is ok, but once is requsted url in form... |
Forum: C# May 5th, 2009 |
| Replies: 8 Views: 1,834 Give up adapters, execute query and refill listbox on your own - or you are so lazy you can not write few lines of code? |
Forum: C# Apr 30th, 2009 |
| Replies: 2 Views: 410 You can not. Data reader works with current row only. You can, however, buffer read data, or use data table. |
Forum: VB.NET Apr 29th, 2009 |
| Replies: 2 Views: 427 I am interested - could you let me know more details please? |
Forum: VB.NET Apr 29th, 2009 |
| Replies: 6 Views: 1,070 You have to copy Reader.dll into bin/debug and bin/release folder, or use absolute path in <DllImport("Reader.dll", EntryPoint:="CommOpen", ExactSpelling:=False, CharSet:=CharSet.Unicode)> |
Forum: Windows Vista and Windows 7 Apr 28th, 2009 |
| Replies: 4 Views: 350 Install Wista and some virtualization software for XPs - works OK. |
Forum: Java Apr 17th, 2009 |
| Replies: 3 Views: 756 Good programmers write excellent code - the best programmers use code of the good ones. Try curl command line utility - it is free, can do much much more than that! |
Forum: Visual Basic 4 / 5 / 6 Apr 15th, 2009 |
| Replies: 5 Views: 1,045 Please keep on your mint that Vista is smart system - you are not allowed to use access database under c:\program files(x86) even if admin and NTFS set properly up. There is virtual registry +... |
Forum: Visual Basic 4 / 5 / 6 Apr 15th, 2009 |
| Replies: 3 Views: 398 First, do NOT use web browser control. Give it up and use URLdownloafile API function instead - google up more details yourself. Second use loadpicture function to get picture into memory and set it... |
Forum: Visual Basic 4 / 5 / 6 Apr 15th, 2009 |
| Replies: 4 Views: 473 Well, code above *works* for ASCII and compatible encoding. Have a look at your file in a hex viewer and check if it is really ASCII coded text |
Forum: Visual Basic 4 / 5 / 6 Apr 10th, 2009 |
| Replies: 4 Views: 473 .....
dim fh as integer: fh = freefile
open "c:\myfile.ext" for binary access read as #fh
dim b() as byte
redim b(3199)
get #fh, , b
dim s as string
s= strconv(b, vbunicode)
dbug.print s... |
Forum: Visual Basic 4 / 5 / 6 Apr 10th, 2009 |
| Replies: 2 Views: 339 Use skype - service works 24/7, secured at decent level + API is very simple you can use it easily |
Forum: Visual Basic 4 / 5 / 6 Apr 10th, 2009 |
| Replies: 0 Views: 299 Hi,
I have an app working with webbrowser com component. There is an events handler for beforenavigate which modify URL if necessary and it I works fine except for computers where is installed... |
Forum: C# Apr 2nd, 2009 |
| Replies: 14 Views: 1,844 Wireless or not, you have to use TCP or UDP so you first connect computers to network and then send data. |
Forum: Graphics and Multimedia Apr 1st, 2009 |
| Replies: 0 Views: 401 Hi,
I was told that WPF can not be used in the silverlight - is it true? I mean about ten years ago I was able to write java applets with almost desktop interaface and I did consider silverlight 2... |
Forum: Visual Basic 4 / 5 / 6 Feb 19th, 2009 |
| Replies: 1 Views: 595 Just set view property to lvwReport - that is all. Btw - you can see it at runtime, not in design time - this is VB6, not .NET |
Forum: PHP Jan 12th, 2009 |
| Replies: 3 Views: 370 Yes, but cold fusion process page on runtime, but I need a code generator based on templates-samples which will be filles in XML-XSLT transformation style. Complicated parts will be written directly... |
Forum: Windows Vista and Windows 7 Jan 12th, 2009 |
| Replies: 11 Views: 1,600 240Gigs total, 5 free, 64 used (total commander), I need find out where is 190Gigs of my drive space? Check disk reports averything is OK. |
Forum: PHP Jan 12th, 2009 |
| Replies: 3 Views: 370 Hi,
I am looking for a free tool which let me write pure html + user defined special tags, which would be transformed on demand into php file. For example I can define source like this:
... |
Forum: Windows Vista and Windows 7 Jan 12th, 2009 |
| Replies: 11 Views: 1,600 Here is screenshot from manager - so am I dumb, or is there something wrong ? |