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 bkrike 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: gregmosu
  • Content: Threads
  • Order by date
  1. gregmosu

    Query result causing excel to crash??

    I posted a while back about my sql query producing empy results. I ended up going in and changing all the TEXT field to VARCHAR field, and it was working, until I came up on this error today... runtime 1004 error Application-defined or object-defined error This was the value from teh...
  2. gregmosu

    SQL query not working in excel

    I can run this query in sql server's analyzer and it runs just fine, but when the query runs in excel half the fields are blank.. not NULL, just an empty string. SELECT c.candidateName AS exp1, instat.status AS exp2, instat.comment AS exp3, s.state AS exp4, n.note AS exp5, avail.description AS...
  3. gregmosu

    Need help w/vb

    I'm trying to put together a console application that will 1) Delete the first image in the word doc and replace it w/another one. 2) Find a text string, and replace it with other text. I had help from other members of this site to get the first part of this done, but the only problem w/it is...
  4. gregmosu

    Using XML to change images in multiple Word/Excel Docs.

    I need to be able to change an image in about 30 Word an Excel documents. Whats the best way to do this w/out having to change it in each file individually? Would I need to use XML, or would a macro be better? Thanks, Greg
  5. gregmosu

    Batch image change in Word/Excel Docs.

    Does anyone have any information on how to change an image in numerous Word and Excel documents w/a batch process instead of individually changing the image in every document? Thanks, Greg
  6. gregmosu

    Object/scope question

    switching from java to php, and have a scope question. If I have a couple of classes that look like this: <?php class Person{ //Some code that access the database } ?> <?php class User{ //Some code that access the database } ?> and I need to use them both in the same page, I'd use the...
  7. gregmosu

    Encoding a url string

    I am using javascript to open a new window, and the url that I'm sending always comes thru to the new page w/the ampersands stripped out. Here is the code that opens the new page. Dim s1 As String = "batch/batchPdf.aspx?type=candGar&GroupId=" & GroupId & "&ClientId=" & ClientId & "&CandId=" &...
  8. gregmosu

    Auto close a UserForm

    I have a Userform for Excel that opens first and tests the database connection. If the connection can be established, I want to close that userform and open a new userform. So far, all I can do is hide the first form. Is there a way to close it? UserForm1.Hide UserForm2.Show Thanks!
  9. gregmosu

    Database connection testing

    Is there a quick way to test if this connection is open... like a try/catch block, or maybe the .Open function returns a result. I couldnt find anything online about it. Thanks in advance! Set objConnection = CreateObject("ADODB.Connection") objConnection.Open "Driver={SQL...
  10. gregmosu

    Changes not showing up

    I cant get any of the changes I make to my asp pages to show up. I used to be an admin for our Tomcat servers, and whenever this would happen, I would have to clear out the cached pages to get it to work again. I think this is what is happening here, but I dont know anything about IIS. Where...
  11. gregmosu

    Object session storage/serialization?

    I have an object that stores some search data that the user will need to have around through the duration of the session. quick example: Public Class SearchList Private sqlString1 As String = "" Private sqlString2 As String = "" Private sqlString3 As String = "" //some get and set...
  12. gregmosu

    Object/Session binding

    How do I bind an object to a session, and then retrieve it again? If this were Java, I could use... session.setAttribute("ObjName",Object); -and- session.getAttribute("ObjName"); I'm using vb.net to code this app. Thanks, Greg
  13. gregmosu

    ASP.NET binding objects to a session

    How do I bind an object to a session, and then retrieve it again? If this were Java, I could use... session.setAttribute("ObjName",Object); -and- session.getAttribute("ObjName"); I'm using vb.net to code this app. Thanks, Greg
  14. gregmosu

    Checking for null objects

    I have a function that checks for parameters in the query string, and from there determines which page to open up in a certain frame. The only problem is that if I try to hit the page without having a query string, I get a null pointer exception. I've tried several different methods for checking...
  15. gregmosu

    Save Word Doc to html w/out style elements

    How can I save a word doc out as an html file w/out all the style elements Word automatically embeds? I found a post from a guy w/the same problem, but the very next thread was from him saying he found the plugin... so no help there. Any help would be greatly appreciated. THanks, Greg
  16. gregmosu

    css rollover/popup effect

    Here is the code I have so far that basically makes a div element visible on a mouse over. STYLE SHEET======================================= div#links {font: 16px Verdana, sans-serif; } div#links a:hover {color: black; background: #AAA;} div#links a span {display: none;} div#links a:hover...
  17. gregmosu

    applying style to element tags

    How would I go about applying a style to an element tag. This is how I'm displaying links to the page. <xsl:element name="a"> <xsl:attribute name="href">../templates/<xsl:value-of select="$templates//templates/template/n3/link"/></xsl:attribute> <xsl:value-of...
  18. gregmosu

    ASP.NET on XP Pro(IIS5)

    I'm trying to set up my asp.net application(vb) on a server running xp pro and iis5. Right now, I cant even get a simple aspx page to execute that I know works on my win. server 2003 pc. Heres the code... <%@Page Language="VB"%> <html> <body> <% Response.Write(DateTime.Now.ToString()) %>...
  19. gregmosu

    Multiple XMLs for one XSL

    I'm using Oxygen as the xml generator, and so far I've had no trouble using an xsl stylesheet and an xml file to create an html file, but what I would like to do is use data from multiple xml files together with one xsl to create an html file... ex) company.xml + personel.xml + style.xsl =...
  20. gregmosu

    XML tips or tutorials???

    I've been asked to provide some kind of xml solution for mainting content in a web site. So far, I cant find any examples other than iterating thru records and displaying it in a table... I'm not even sure xml is a good idea. Heres a quick example of what I need to do. Suppose I have these...

Part and Inventory Search

Back
Top