dcsimg

Search:

Type: Posts; User: BSWhipp

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: Printer settings not set even when trying to set them.

    I can query the printer and tell it what default page to use but the page setting dialog box does not update when you tell it what you want. I guess this is my problem. I tell the report to set a...
  2. Re: Printer settings not set even when trying to set them.

    They will change depending on what label they change to. Its weird. On label that has 3 across where each label is .5 x 1 prints fine without needing to set the printer settings but the smaller one...
  3. Printer settings not set even when trying to set them.

    I have and app that I am trying to duplicate from old VFP to new VB. Print settings are not as flexible in VB and I am having issues creating small labels. I have a label printer that prints labels 4...
  4. Replies
    12
    Views
    378

    Re: Embed a file on to a form for user use

    Got it Thanks

    Dim filepath As String = My.Computer.FileSystem.SpecialDirectories.Temp + "\Item_Master_Import_Template.xlsx"
    IO.File.WriteAllBytes(filepath,...
  5. Replies
    12
    Views
    378

    Re: Embed a file on to a form for user use

    OK, to start over, I add en existing reference to the file and make it embedded? Then Add a picture box to launch the excel file. Sounds good. How would I do the code to the resource?
  6. Replies
    12
    Views
    378

    Re: Embed a file on to a form for user use

    I have it added as an embedded resource but when I try to drag it to the form it doesn't allow.
  7. Replies
    12
    Views
    378

    Re: Embed a file on to a form for user use

    OK, Can you guide me thorugh that? I added it to the solution but from there on I am lost. Thanks
  8. Replies
    12
    Views
    378

    Re: Embed a file on to a form for user use

    I don't really want to have the file on disk. I would like it embedded in the program since it will not change unless I need to update it then I would recompile. For users, they will never change it.
  9. Replies
    12
    Views
    378

    Re: Embed a file on to a form for user use

    The file will not change. It is a template.
  10. Replies
    12
    Views
    378

    Re: Embed a file on to a form for user use

    I gues I would like it to display an icon for people to click on and open the file or save it to a location only. Hence any file. It is an open or save process only.
  11. Replies
    12
    Views
    378

    Embed a file on to a form for user use

    I have an Excel file or it could be any file that I want to display on a for for people to launch. What is the best way to embed that file in the project? I don't want to have it on a disk and link...
  12. Report Viewer Cuts off top of report in viewer when scrolling to the bottom

    Weird issue

    Report Viewer Cuts off top of report in viewer on the second run of the report.

    It only happens when scrolling to the bottom of the first report then closing the report window then...
  13. Re: Still quite new to c# having problem calling a function in a dll

    I got it

    Had to change this:
    ARISQL.ARISQL oSql;
    to this:
    ARISQL.ARISQL oSql = new ARISQL.ARISQL();
  14. Re: Still quite new to c# having problem calling a function in a dll

    OK, I have moved to the Third error

    I added

    Object res

    I changed the offending line to res = oSql.runQuery(ref SVR, ref DB, ref SQuery, ref result);

    The error now is "Use of unassigned...
  15. Re: Still quite new to c# having problem calling a function in a dll

    OK, I have moved to the second error

    I changed the offending line to checkdate = oSql.runQuery(ref SVR, ref DB, ref SQuery, ref result);

    The error now is "Cannot implicitly convert type...
  16. Still quite new to c# having problem calling a function in a dll

    I have a dll I created in vb. I referenced it in my c# project and added the Using statement.

    I can get it working up to the point I call the function.

    Here is the subset of the code.

    using...
  17. Re: Still working on this project (new to c#) Streamreader to datatable

    What I ended up doing is manually creating a parser. It took about 20 lines of code but it works great.
  18. Re: Still working on this project (new to c#) Streamreader to datatable

    I can believe I can't find anything on the internet that can help me. It looks like I will have to parse this out manually which I can do but JSon should (and probably does) do it or at least there...
  19. Re: Still working on this project (new to c#) Streamreader to datatable

    Having an issue converting to the datatable.

    This is the code:
    var json = new JavaScriptSerializer().Serialize(selectQuery);

    // Converting a JSON object string to a...
  20. Re: Still working on this project (new to c#) Streamreader to datatable

    OK, I have newtonsoft already referenced but don't know how to use it. I will try to google it. But as I am know to this, the result are in JSON? I will google JSON parser to datatable?

    I really...
  21. Re: Still working on this project (new to c#) Streamreader to datatable

    Like this?

    string results = reader.ReadLine();
    using (StreamWriter outputfile = new StreamWriter(path))
    {
    outputfile.Write(results);

    Ultimately I...
  22. Re: Still working on this project (new to c#) Streamreader to datatable

    I think you are correct. Here is the part of the code I am having a problem with

    using (var requestStream = selectRequest.GetRequestStream())
    {
    ...
  23. Still working on this project (new to c#) Streamreader to datatable

    I finally have data from an HttpWebResponse into a streamreader. I can write it to the console and it shows data so I know I have data. I have been searching on how to get that data into a datatable...
  24. Re: Installed ServiceStack v 3.9.33 and still get error

    I did that with the same result. Finally after a week, the company I am working with sent me the dll. I references that and it is working. Thanks for your time though.
  25. Re: Installed ServiceStack v 3.9.33 and still get error

    I installed it through Package Manager. Also I installed 3.9.71 with same result and version 5.04 did not have the ServiceStack.ServiceHost in the ServiceStack.Interface. You had stated you did it...
  26. Installed ServiceStack v 3.9.33 and still get error

    I installed ServiceStack.common and .text. UIn the references I do see ServiceStack.Interface but when building the code I get 2 errors.
    1.Error 1 The type 'ServiceStack.ServiceHost.IReturn' is...
  27. New to C# and need to connect to web service.

    I have code from the web to do what I need to but I need assistance. I have created the dll to use but now need to create the program to get the information from the web site. The link they provided...
  28. Re: Very new to webservice calls. Need some guidence.

    The above code is erroring out with the status = (New System.Web.Script.Serialization.JavaScriptSerializer()).Deserialize(Of ResponseStatus)(responseText) line.
  29. Re: Very new to webservice calls. Need some guidence.

    Option Infer On

    Imports System
    Imports System.IO
    Imports System.Net
    Imports System.Web

    Namespace RequestAuthentification
    ' Auxiliary class for de-serialization of the JSON object from...
  30. Re: Very new to webservice calls. Need some guidence.

    Thank you!!! Just got to this today. This is pretty new to me. I will have to bone up on this xdocument stuff.
  31. Very new to webservice calls. Need some guidence.

    I am working with a company called BPM Online. They are a CRM provider in the cloud. They have some information (data of ours) that I want to get and put into SQL. They are not being very good with...
  32. Replies
    3
    Views
    328

    Re: Change Printer print darkness

    I called Honeywell earlier and they told me I needed the SDK but they are having a problem with the link too so I am stuck until they fix the link to download it. Thank you for your help!
  33. Replies
    3
    Views
    328

    Change Printer print darkness

    I have looked all over the internet to find the code to change the print darkness on a printer (Datamax).

    For the life of me I cant find anything.

    Any help would be much appreciated.
    ...
  34. Re: Is it possible to update the previous row in a for each loop?

    Right
  35. Re: Is it possible to update the previous row in a for each loop?

    I just go it this is what I did.

    Dim r As DataRow
    For i = 0 To OnHandAll.Rows.Count
    r = OnHandAll.Rows(i)

    part = r.Item("fpartno")

    ...
  36. Re: Is it possible to update the previous row in a for each loop?

    Do you have an example?
  37. Is it possible to update the previous row in a for each loop?

    I have a datatable I need to be sure I have no duplicates in and update fields accordingly. It there is a duplicate, I need to make sure a field is updated.

    The scenario is I have parts with an...
  38. Replies
    11
    Views
    615

    Re: For Each loops slow

    OK, Thanks everyone. I will play around with it some more to see what I can do.
  39. Replies
    11
    Views
    615

    Re: For Each loops slow

    It just seems it take much longer in VB than it does in another program. I am converting old programs that are in Foxpro to VB. The same Do while loop in Foxpro takes seconds where the vb code may...
  40. Replies
    11
    Views
    615

    Re: For Each loops slow

    For Each r In rec3.Rows
    lcvendyear = r.item("fvendno") & r.item("Yearc")
    'Look for how many are late
    foundrow = SuppRcv.Select("fvendno+Yearc = '" & lcvendyear...
Results 1 to 40 of 82
Page 1 of 3 1 2 3



Featured


Click Here to Expand Forum to Full Width