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 strongm 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: *

  1. smartFly

    Insert Image in Dynamically Generated Excel File

    No, I think I gave up...
  2. smartFly

    Insert Image in Dynamically Generated Excel File

    I can dynamically create an Excel document and populate it with data, but cannot find any code samples for inserting images. There doesn't seem to be any code samples online for doing this, any ideas? Thanks
  3. smartFly

    Seach folder structure and display structure on page...sounds cool!!

    There's recursive functions all over the place that can traverse folder structures. You could use one of these functions to traverse a folder structure and selectively write html.
  4. smartFly

    DataGrid and rules="all"

    I'm not sure I explicitly set a schema, it's pretty much standard html.
  5. smartFly

    DataGrid and rules="all"

    When using a datagrid the rendered html table tag contains a rules="all" attribute by default. This attribute creates some pretty ugly table lines in non-IE browsers, is there an attribute of the datagrid control or another method to override this?
  6. smartFly

    Debug - Switch from Emulator to Pocket PC

    Oh wait! I didn't see the drop-down device selector on the toolbar. I guess I figured it out.
  7. smartFly

    Debug - Switch from Emulator to Pocket PC

    My Pocket PC was the default device when debugging, but I switched the default to the Emulator and opted to hide the device selection dialog. Now I want to switch it back (and maybe display the device selection dialog) but can't find where to do it. Thanks
  8. smartFly

    set dateTimePicker.value from dataSet?

    Sweet!! Perfect, didn't know that existed, worked awesome, thanks again.
  9. smartFly

    set dateTimePicker.value from dataSet?

    not that either :-( 'Cannot convert from string to long!'
  10. smartFly

    set dateTimePicker.value from dataSet?

    Nah, it says 'specified cast is not valid'...
  11. smartFly

    set dateTimePicker.value from dataSet?

    Yes, trying that I get: Cannot implicitly convert object to System.DateTime! Appending .ToString() to the end I get: Cannot implicitly convert string to System.DateTime! dateTimePicker1.Value obviously needs a date, looks like I need to convert an object or a string to one but I don't know how.
  12. smartFly

    set dateTimePicker.value from dataSet?

    The quoted myDate should have been bracketed, must've been stripped. dr is a DataRow object based on a DataSet created from an XML document. myDate is simply a field with a date value in mm/dd/yy format. <myTable> <myRecord> <myField1 /> <myField2 /> <myDate>9/11/03</myDate>...
  13. smartFly

    set dateTimePicker.value from dataSet?

    I have a dateTimePicker control on a Windows Form, I'd like to set the value equal to a dataSet field. Looks like I need to convert to DateTime, but I'm not sure how. The following errors with 'Cannot implicity convert string to datetime!': dateTimePicker1.Value =...
  14. smartFly

    Dynamicall reference field

    I figured it out. Instead of: for i = 0 to numFields I should've had: for i = 0 to numFields - 1 I was just getting confused by the error message. Thanks
  15. smartFly

    Dynamicall reference field

    I'm trying to loop through a recordset and loop through the fields collection within each record to dynamically write an xml file. For some reason I get an error with: while not recordSet1.EOF for i = 0 to numFields ' number of fields in table Print #1, recordSet1(i).Value next...
  16. smartFly

    Need Help with Webpage Query

    You could do this on the results page: var1 = request.form(&quot;var1&quot;) if var1 = &quot;&quot; then var1 = &quot;%&quot; end if strSQL = &quot;select * from table where var1 = '&quot; & var1 & &quot;';&quot; This would replace var1 with a wildcard if using textfields and the user left...

Part and Inventory Search

Back
Top