Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mkuan
  • Order by date
  1. mkuan

    VS InterDev: How to debug VB app w/ webpages?

    Hello, everyone. There's a VB app that contains forms with webbrowser control. As a result, in addition to the regular VB forms, controls, and class, there're some ASPs to debug. Could someone kindly tell me how I can open up such app in VS InterDev so that I can debug some ASP bugs. TIA.
  2. mkuan

    Cut & Paste stop working on textboxes. Why?

    Thanks for replying promptly. It seems like my machine is the only working machine. All other machines (production and development) that use the same exe fail to work. I made a mistake when describing my problem. It's actually a row in a 3rd party control (like a spreadsheet) called Spread. I'm...
  3. mkuan

    Cut & Paste stop working on textboxes. Why?

    Cut & Paste functionality is working just fine on the textbox fields of my program on my machine; however, for some reasons, the Cut & Paste functionality stop working on most, if not all production machines. Any idea? Production and my machines are XP Pro version. Thx.
  4. mkuan

    How to determine a file is still open?

    I want to write to a file that I know the name and location. I get "Permission denied" error message if the file is opened by some other app while I try to write to it. My question: Is there a way to determine if a file has an "Open" state using VB? TIA.
  5. mkuan

    How to find an element-attribute pair, if given a line number?

    My problem is when my XML file (lets call it "final" file), which is generated from an XSLT file, does not contain the kind of information that's conforming to a schema provided by a 3rd party, I need to tell my user (through a report, Crystal Reports to be specific) which element's attribute is...
  6. mkuan

    How to find an element-attribute pair, if given a line number?

    I've validated my XML file with a schema, and I know which lines (through the help of some Microsoft Visual Basic objects) are not conforming to the schema. Is there a way to use the line number and attract the element-attribute value pairs that're giving me the errors? For example, 99 ...
  7. mkuan

    How to find an XML's element-attribute given a line number?

    Thanks Chip for your prompt reply. I wonder if there's any object that does it? :( Getting desperate....
  8. mkuan

    How to find an XML's element-attribute given a line number?

    I've validated my XML file with a schema, and I know which lines (through the implementations of IVBSAXContentHandler, IVBSAXErrorHandler, and IVBSAXLocator interfaces) are not conforming to the schema. Is there a way to use the line number and attract the element-attribute value pairs that're...
  9. mkuan

    Passing date parameter to Crystal - won't work

    How about passing the date as it's; not converting it using CDate function?
  10. mkuan

    The child form position in MDI

    Try passing the form you want to center into this procedure: Public Sub FormCentre(frmCurrent As Form) Dim iWindowLeft As Integer ' window left corner Dim iWindowTop As Integer ' window top corner iWindowLeft = (Screen.Width/2) - (frmCurrent.Width/2) iWindowTop =...
  11. mkuan

    Returning a parameter from Stored Procedure

    Dim oConn as ADODB.Connection Dim oCom as ADODB.Command Dim oParam1 as ADODB.Parameter Dim oParam2 as ADODB.Parameter Dim oParam3 as ADODB.Parameter Dim str, int1 as String Set oConn = New ADODB.Connection oConn.Open "Provider...blah, blah, blah.." Set oCom = New ADODB.Command Set...
  12. mkuan

    Delete SQL statement

    You have extra "From" in your delete statement, and you need single quote on your string parameter.
  13. mkuan

    How do I store images in SQL table?

    The way I used to do it was saving the file path of images in a column, then retrieve the file path from the column when needed. Anyone has a better idea? Min.
  14. mkuan

    Need Wildcard to work in Replace

    Can't u use "Server.HTMLEncode", or use the number code for "%" sign, which is % ? Min.
  15. mkuan

    Arrays as Input to ADO Parameters

    Are u missing a pair of () to enclose the question mark: Select * from tableA where field1 in (?) Min.
  16. mkuan

    Ctrl-Alt-Delete

    Oh, in the same site I mentioned, there's another article that goes.... ============================ Hiding Your Program in the Ctrl-Alt-Del list The easiest method is probably by using the TaskVisible property of the App-object. If you set it to False, the task will be hiden from the...
  17. mkuan

    Ctrl-Alt-Delete

    Check out this article at one of the best site for API: http://www.allapi.net/tips/tips.shtml And they have one article has the code to disable those key you want. It says that the code works in Win95, but I think a similar article in MSDN also mentions that the code works in Win95 &...
  18. mkuan

    How to read Number of Files?

    Check out "FindFirstFile", "FindNextFile" and "FindClose" API calls. I'm sorry I can give u some examples, because they're stuff I wrote for a client. Min.
  19. mkuan

    Ctrl-Alt-Delete

    This snippet from MSDN may be of interest to you: ======================================================== Open a new project and add the variable ShiftKey to the Declarations section of the form: Dim ShiftKey as Integer Add a Textbox control to the form and this procedure in the KeyDown...
  20. mkuan

    Getting Local server's Time/Date!!!

    This what I posted not long ago... mkuan (Programmer) Jul 27, 2002 Try this out. It works in VB6. ======================================== Option Explicit Private Declare Function NetRemoteTOD Lib "netapi32.dll" (ByVal server As String, buffer As Any) As Long Private Declare...

Part and Inventory Search

Back
Top