|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
3 problems1. I have a long job to run, I want show the current status using text on a dialog/popup/windows which control(s) should i use? 2.how to convert unicode to ascii using VB6? 3. I use excel driver to retrieve the data (not allowed to use excel object libaray), the worksheet name seems cannot contain any space(ie. "worksheetname" but not "worksheet name") . Is this can be solved ? cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties='Excel 8.0;HDR=Yes;IMEX=1';Data Source=........" cn.CursorLocation = adUseClient sSQL = "select * from ['worksheetname$'A1:B10]" rs.Open sSQL, cn THANKS ALL~~~ > 1. I have a long job to run, I want show the current status using text on A progressbar would make the most sense in this situation I would have > a dialog/popup/windows > which control(s) should i use? thought. > 2.how to convert unicode to ascii using VB6? Have a look at the StrConv() function, using the vbFromUnicode flag.> 3. I use excel driver to retrieve the data (not allowed to use excel Perhaps follow this one up on an Excel group?> object libaray), the worksheet name seems cannot contain any space(ie. > "worksheetname" but not "worksheet name") . Is this can be solved ? Hope this helps, Mike - Microsoft Visual Basic MVP - E-Mail: ED***@mvps.org WWW: Http://EDais.mvps.org/ > 1. I have a long job to run, I want show the current status using text on Progress bar seems not a text specific control.....>> a dialog/popup/windows >> which control(s) should i use? > > A progressbar would make the most sense in this situation I would have > thought. > Actually i want an effect like a changing text message on something like msgbox..... >> 2.how to convert unicode to ascii using VB6? Seems have problems on some platform if don't use localeID> > Have a look at the StrConv() function, using the vbFromUnicode flag. i try it later > just found the solution, is "select * from [work sheet name$A1:B20]">> 3. I use excel driver to retrieve the data (not allowed to use excel object >> libaray), the worksheet name seems cannot contain any space(ie. >> "worksheetname" but not "worksheet name") . Is this can be solved ? > > Perhaps follow this one up on an Excel group? not "select * from ['work sheet name$'A1:B20]", misleaded by m$ table name string return...... > Hope this helps, THANKS~~~~> > Mike > Show quoteHide quote
AND Operator and Currency data type
Convert HTML to text "Save As" question & file extensions Error when running vb app with FlexGrid control Adding treeview programacticlly Vendor ActiveX control Obtain MCSE certificaiton without exams(Pay after check results)100% passing gaurantee Refactoring add-in Syntax Error - Missing Operator - When Using Date ! Will a P&D packaged DLL (DLLSelfRegister) be registered correctly on all OS's? |
|||||||||||||||||||||||