dcsimg

Search:

Type: Posts; User: kebo

Page 1 of 13 1 2 3 4

Search: Search took 0.65 seconds.

  1. VS 2017 Re: Binding to Control property / variable - is this possible?

    ;);)
  2. Re: my.settings not reading specifically on application start with Windows

    That registry location gets used by the Windows Explorer application (that app that is your Windows desktop), so I don't believe it gets picked up before the user logs in.

    Have you verified the...
  3. Re: want to delete two sql server tables with one button

    If you want to drop the tables, use DROP TABLE...


    DROP TABLE table1;
    DROP TABLE table2;
  4. Replies
    2
    Views
    178

    Re: Data retreival failed for this report

    That too bad you are getting that error. Maybe you've done something wrong. In fact I'll bet that is the case. Unfortunately, you've asked no question nor provided any details, so you will get no...
  5. Re: how can I send a message to a device on port 6000 but I dont know the IP?

    Don't think you can broadcast over TCP/IP. TCP/IP uses peer-peer communication so without knowing the IP address, you can't connect to the device.

    If you want to broadcast a message to multiple...
  6. Thread: Chart with 3 Axis

    by kebo
    Replies
    7
    Views
    363

    Re: Chart with 3 Axis

    Set the second Series' YAxis to the chart area's Secondary axis.
    170821
  7. Replies
    11
    Views
    617

    VS 2019 Re: old man looking for help running a batch file

    Please just and the code in the batch file to the thread. If it's too big, just post the lines around the call to the file that is causing the problems.
  8. Replies
    11
    Views
    617

    VS 2019 Re: old man looking for help running a batch file

    What is in the batch file? Can you post it?
  9. Replies
    2
    Views
    276

    VS 2017 Re: Project Reference Bizarre Behavior

    Sorry, I can't say I've ever seen that, nor would I know why it happens other than suggesting a corrupt project file.

    I really just wanted to say that your post reminded me of an old Steve Martin...
  10. Thread: Caller ID

    by kebo
    Replies
    9
    Views
    576

    Re: Caller ID

    Environment.StackTrace is probably going to be the easiest. Since it returns a string, you could search it for any of the callers you need. You could probably even split the stack trace on a line...
  11. Replies
    1
    Views
    243

    VS 2010 Re: exporting datagridview with images to excel

    I won't fix it, but this is how I place an image at the location of a cell....
    It's c# but should be easy enough to convert...


    private static void insertPic(Excel.Worksheet ws, string...
  12. Re: System.Windows.Media... AreaGradient ?

    Thanks BB. I'll look into it.
  13. Re: System.Windows.Media... AreaGradient ?

    Although the code is simpler, I'm not sure about the efficiency of it. Drawing 25 rectangle plus a fill has got to take longer than drawing 4 triangles.
  14. Re: System.Windows.Media... AreaGradient ?

    This is what I am looking for...
    167471
    And this is the code (c#) that created it using the System.Drawing namespaces...

    Handle the paint event of the control (in this a case a panel)


    ...
  15. Re: /VB Express 2010/ Extract specify text from string

    another way...

    dim path as string = "\test\project\documents\reports\Result_001.txt"
    dim fileName as string = IO.Path.GetFileNameWithOutExtension(path)
    dim parts() as string =...
  16. [RESOLVED] System.Windows.Media... AreaGradient ?

    Hey all,
    I'm working in WPF, but since this question is all about the code behind it makes sense to post it here.

    I need to make area gradient using the System.Windows.Media namespace. Essential...
  17. Replies
    6
    Views
    891

    Re: Visual Studio 2019 Preview is now available

    Anyone try this yet? Any feedback?
  18. Replies
    7
    Views
    429

    VS 2013 Re: vb.net: calcal 2x time

    d1 and d2 are dates and when you subtract the two you get a TimeSpan object. You should be formatting the time span using either one of the standard format strings or a custom format string when you...
  19. Re: Export datagridview to Excel without saving the file

    Without saving the file you will need to using the Excel Interop namespace to create a new excel app instance/worksheet and set values in it directly.
    ...
  20. Replies
    10
    Views
    492

    VS 2010 Re: Copy List of String to another list

    Yea, what he said.
  21. Replies
    10
    Views
    492

    VS 2010 Re: Copy List of String to another list

    To do it without looping is not possible. It's just a matter of whether the looping is exposed to you. This is probably what you are looking for...

    X.AddRange(Y.ToArray())
  22. Re: Express big integers into smallest possible values

    The numbers you are showing are in base 10 I assume. If you change to base 16 the same number would take less characters to express. If you changed to a higher base (say base 26) you could express...
  23. Replies
    9
    Views
    552

    Re: Service application help

    In the end a service is not much different from any other application. The difference is primarily what resources are available to the app and how it get installed. Since as mentioned, a service does...
  24. Replies
    6
    Views
    382

    Re: Which version of MySQL would suit me ?

    The MySQL server proper has no installation restrictions on the Visual Studio version but the Connector does. According to their documentation, the latest version no longer supports VS2008 (or...
  25. VS 2013 Re: How can I Truncate Decimal Number Without Round up or dawn ?

    I was thinking of a solution similar to what dbasnett posted, but I would probably pass in the number of decimal points you want in the result...


    Private Function Trunctate(value As Decimal,...
  26. Replies
    25
    Views
    1,446

    Poll: Re: Which way is yours?

    That just looks weird in every way.
  27. Replies
    25
    Views
    1,446

    Poll: Re: Which way is yours?

    Looks like you're out of the club too.
  28. VS 2017 Re: Changing the parameters of a gradient brush in a loop.

    Don't forget to dispose of your objects. If you create it and it has a dispose method, you are responsible for making sure it gets disposed either implicitly or explicitly.
  29. Replies
    25
    Views
    1,446

    Poll: Re: Which way is yours?

    I guess the invite got lost in the mail.
  30. Replies
    25
    Views
    1,446

    Poll: Re: Which way is yours?

    #3 almost exclusively until we switched to c#. Now I actually prefer #6 (if(c) i+=1 in c#)
  31. Re: VS 2015 even if the listview is not selected i get this error why?

    I don't think the exception being is raised by the line of code you posted. Something else in your code that you are not showing is raising it.

    Put a beak point on the line you show and step...
  32. Replies
    8
    Views
    682

    VS 2015 Re: Setting a colour to its Inverse?

    You can get the inverse of any color with this...

    Public Function InverseColor(ByVal c As Color) As Color

    Return Color.FromArgb(255 - c.R, _
    ...
  33. Re: Extract HTML Soucre Code from already opened web broswer

    Your best bet would be to get the url and open it in your app with a web request and read the response. To get the url, you need to get the handle of the textbox in the browser and read it's...
  34. Re: VS2015 AutoComplete To Text From SQL DataBase something is missing

    Just because it's in the database doesn't mean it's in the auto complete list. Did you put the break point and view the contents of the List? Either way, I don't have much more I can help you with...
  35. Re: VS2015 AutoComplete To Text From SQL DataBase something is missing

    Yes, that is how the autocomplete should work based on the mode and source you are setting. However, if there is nothing in the auto complete source, you will not get the results you want. You should...
  36. Re: VS2015 AutoComplete To Text From SQL DataBase something is missing

    You should really take a look at what you are doing...


    Dim StrSql As String = "Select * From PriceList Where PriceName Like '" & Rpls(TxtName.Text) & "%'"
    Cn.Open()
    ...
  37. Re: VS2015 AutoComplete To Text From SQL DataBase something is missing

    Put a break point on the line where you set the text box's source and check the contents of the List and see if there are items in it. My guess is there is nothing in the list. If that is the case,...
  38. Re: VS2015 AutoComplete To Text From SQL DataBase something is missing

    duplicate post
  39. Re: VS2015 AutoComplete To Text From SQL DataBase something is missing

    Same way you do when you add anything to a list, with the Add method...

    List.Add(reader.Item(1).ToString)
  40. Re: VS2015 AutoComplete To Text From SQL DataBase something is missing

    You are adding the items to TxtName.AutoCompleteCustomSource directly, then you are setting TxtName.AutoCompleteCustomSource to your List variable which is empty.

    Add the items to the List...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width