Search results for query: *

  • Users: dgorka
  • Content: Threads
  • Order by date
  1. D

    Changing Datasets in an Expression

    I'm creating a report to track sales for a client. On the results that the report displays, one of the fields is a link to another report. On the navigation of that, I'm passing the DealerId to the other report so it can display information about that dealer, however, if they don't enter a...
  2. D

    Using GDI+ in a class library

    I'm trying to create a DLL that I could plug into multiple applications to do various image manipulations. When creating my class library project though, I noticed that I can't import System.Drawing. Is this not allowed at all since there really isn't any UI going with the solution, or is...
  3. D

    Dataview.RowFilter question

    I wasn't quite sure where to put this so I decided that it should work as a general question. I have a XML file that I've loaded into a strongly typed dataset and am now trying to query against using a dataview. It's loading everything into the dataview and i'm able to loop through it, but my...
  4. D

    System.Net.Mail question

    One function of an app that I created is to send an email to some of our sales people at work, and have a billing report attached. I think that there are only two people that will be receiving this, but with the way things go here, about ten minutes after i deploy it they will want more added...
  5. D

    Fixed Length Output

    Hello, I'm writing a query that will hit our database, retrieve certain fields from it, then output it as a left justified, 50 character fixed length field. I'm not sure if its possible to do this in SQL. I know that I could just write an app that runs the query, then writes the output in the...
  6. D

    Create Multipage Tiff in a loop

    So I have an app that walks directories and creates multipage tiffs based on what the directory is named. They're named with a 3 letter prefix _ a random number. I'm trying to create the multipage tiff named with the 3 letter prefix. Here is my code: Private Sub appendTiffs(ByVal p_OutputPath...
  7. D

    Question about an MSI

    So I was wondering, if you deploy using an MSI, is there anyway to have it automatically check for a new version like you can do with an clickOnce published app? I need to use an MSI becasue this needs to be installed for more than one user. Thanks.
  8. D

    Clearing a Listbox

    Okay, So I have a Listbox that contains information from a Database. What I'm doing is selecting rows in that listbox, and then updating the database information for those rows. Then it should refresh the listbox and redraw it without those items that were selected. I thought I had this working...
  9. D

    For Next loop skipping for...

    Hello all. I have a For Next loop that seems to skip my for statement. Basically, I'm using nested for loops to go through a database and grab various information about some TIFF images. By the time I get to looping though the paths of the TIFFs (code below), it hits the problem: 'Now put...
  10. D

    BulkCopy Timeout Error

    So I'm trying to bring from one Server into another. Now I actually have to split the data between two tables, so I'm creating two queries, then running two BulkCopies. My first one works fine (its 3939 rows of data I'm copying), but my second one gets a timeout error. Is there any way to set...
  11. D

    Creating an image from a TextStream

    So I'm trying to read a file, line by line, then insert those onto a bitmap and convert that to a tiff file. Logically, to me anyway, my code should work. but when I run it, i just get a blank page. Public Function AddCode() As Boolean Try enParams.Param(0) = New...
  12. D

    Group 4 compression tif

    I"m having a similar problem. I'm bringing in tiff images and adding a watermark to them, then saving them back out as tiffs. The problem I'm having is that I can't get them to save as a Group 4 compression tif. Any ideas? Here is my save code: tempBM.Save(tiffFileName, ImageFormat.Tiff)...
  13. D

    Viewing XML in Excel oddity

    I'm creating reports for an application that are viewable in a datagridview. Then if the user presses a button, it will allow them to open a report in Excel for them to print. Now, the way I'm doing this is to pass my dataset into an XML file, then open the XML in excel. I have all that working...
  14. D

    Object Reference Error

    So, the following code that I'm posting, was written on my coworkers PC, and is currently in production. On his PC it works fine, as well as in production. We copied the solution to my PC and now it errors whenever I run it. I get an "Object reference not set to an instance of an object." error...
  15. D

    Exporting Dataset to Excel

    So I've got some data that I want to export to an excel file. Yesterday I found a site (http://www.kjmsolutions.com/datasetarray.htm) that had me pass it into an array and then populate the excel cells with the array. It worked perfectly fine yesterday, but I came in this morning, tried it, and...
  16. D

    Displaying Current Time

    So I've made a form with a status strip. One of the things listed on my status strip is the current time. Now, thats easy enough to get on there, but what I would like it to do is to update to show the current time (not just the time it was when the form loaded). So say I open my form at 1:00...
  17. D

    FileSystemObject 2005 Equivalent

    I was wondering if anyone knew what the VB.NET 2005 Equivalent is for the VB6 FileSystemObject class. I've been looking online but am not finding anything that really fits what i need. I need to be able to use it to set the name of a file. i.e. I've tried using the FileStream class but Name is...
  18. D

    Shell command with .bat file

    Hi, I'm making an app that creates a .bat file when a button is pushed. I use Shell() to get the bat file to run. Now when I'm using this is testing on my local machine it works perfectly, however, when I tried using it in production today across the server, it created the .bat file but didn't...
  19. D

    Question about Excel object

    Hello, I've made an application that goes through a directory or PDFs and get the page count for each, then loads those numbers into a excel file to make a page count report. I was wondering if anyone here knew how I would be able to set the header and footer of the spreadsheet in my code...
Back
Top