Search:

Type: Posts; User: CVMichael

Page 1 of 13 1 2 3 4

Search: Search took 0.67 seconds; generated 9 minute(s) ago.

  1. Replies
    0
    Views
    1,357

    VS 2022 Create a separate project for Web Controls

    I have a few web form applications which I copied and pasted some user controls to each app. Now every app has the same controls, but each one slightly different because I made small changes/updates...
  2. Replies
    1
    Views
    472

    Re: Delete attribute from XML

    Guys! I asked ChatGPT, and it gave me the answer!

    Check this out!


    UPDATE tbl
    SET col.modify('delete /DataGridView_Data/Row_Data/@*[local-name()=sql:column("remove_item_name")]')
    FROM @tbl...
  3. Replies
    1
    Views
    472

    Delete attribute from XML

    I am trying to remove a few attributes from XML, but the attribute name is dynamic and is a calculated field in the table

    This is my test SQL, and it works when I hard-code the attribute name:

    ...
  4. VS 2022 Could not load assembly OpenXmlPowerTools A strongly-named assembly is required.

    I am getting this error at runtime when I open the form where I am reading a word document using OpenXML:
    Could not load file or assembly OpenXmlPowerTools or one of its dependencies. A...
  5. WinForms, MDI, multithreading - delegate to send events from thread to UI thread

    I can't figure out how to send events from a worker thread to the UI thread.

    Here's my setup:
    I made an app with an MDI main form, which has a few other forms open in it. The MDI creates a new...
  6. Re: How to get mouse events when button is disabled ?

    Tried that, I'm not getting any mouse events when the button is not enabled

    How do I do that ?
    I tried this:


    // in constructor:
    this.MouseDown += new MouseEventHandler(this.test_MouseDown);...
  7. How to get mouse events when button is disabled ?

    I am making an app in WinForms. I created a new custom control, and inherited the Button.

    I override the OnMouseDown event, but I need to get the event even when the button is disabled, and this...
  8. Open office document, but prevent "Save As"

    I am making a WinForms app using C#. The app has a database with documents (word, excel, pdf, etc...)

    My requirement is that the user can save the document (which in turn the file will be updated...
  9. VS 2019 Anything better than AsyncFileUpload or AjaxFileUpload

    I am making a webapp for work that lists some projects in a Repeater, and for each project the user has to attach some files. So each control is repeated multiple times on the page.

    I can't use...
  10. Re: Subtract date and time fields in SQL Server query

    declare @my_date datetime
    , @date_only date
    , @time_only datetime

    set @my_date = getdate()

    SELECT @my_date AS [Original date & time]

    -- get date only, get time only
    SELECT...
  11. Replies
    22
    Views
    7,934

    Re: MultiThreading a LOOP

    I have posted in the CodeBank a multithreading example: http://www.vbforums.com/showthread.php?511995-VB6-A-very-precise-timer-using-Multithreading

    Also, you can find another simple version in...
  12. Re: SQL – Join, manipulate and comma delimit column

    Using the split string here: http://www.vbforums.com/showthread.php?590692-SQL-Server-2005-Split-string-into-table-using-WITH-recursion-(no-loops)



    DECLARE @my_str VARCHAR(MAX)

    SET @my_str =...
  13. Re: Stored procedure, optional parameters

    Well, 5 cannot equal 5 AND 6 at the same time...

    So EmpTeamDepartments.EmpDepartmentID can equal @ST OR @Implementation

    I would write the where clause like this:


    WHERE (@CertificationID IS...
  14. Re: Resize DIV to fit parent and have scroolbar, using CSS

    I found an interesting discussion here:
    https://softwareengineering.stackexchange.com/questions/277778/why-are-people-making-tables-with-divs

    I'll consider using DIVs in my next app
  15. This forum requires that you wait 30 seconds between posts

    When I do a "Reply with Quote", and then I click on "Post Quick Reply", it goes into Advance mode, and I get this message:


    The following errors occurred with your submission
    This forum requires...
  16. Re: Resize DIV to fit parent and have scroolbar, using CSS

    Can I ask why we're still using VB6 in 2019 ? (but let's not go there)

    I got used to it! I use them because I need thigs aligned on the page, and I didn't find good examples of these "better ways"...
  17. Re: Resize DIV to fit parent and have scroolbar, using CSS

    After A LOT of googling, and a lot of trial & error, I ended up writing my own JavaScript that modifies the Width & Height on window resize:


    <script type='text/javascript'>
    function...
  18. Resize DIV to fit parent and have scroolbar, using CSS

    I'm working on a ASP.NET app, but the issue is mainly with CSS

    I have a table with 2 cells, and I want to have a scrollbar in he second cell

    Something like:


    <Table>
    <tr>
    <td>
  19. Thread: 13 years

    by CVMichael
    Replies
    59
    Views
    6,502

    Re: 13 years

    Me: Feb 8th, 2002 - 17 years 7 months 5 days - also on a Friday :)
  20. VS 2019 HtmlEditorExtender alternative that can do tables

    I am making a web app that does word merge using Syncfusion, and I insert the html with InsertXHTML method into the word document / template.
    Users need to format text, and insert tables. I tried...
  21. How to list the other events in Global.asax in C#

    When I was using VB.NET, it was listing all the events, I just had to click on the event, and it would automatically insert the code, but in C# I can't figure it out:

    For example I want to add...
  22. Replies
    135
    Views
    27,874

    Re: Anyone into 3D printing?

    I upgraded my computer in Nov 2016, I got a similar CPU - Intel i7 6800K 6-Core, everything else much less in performance, but back then it cost me close to $2,000 CAD, just the CPU was around $550...
  23. Replies
    135
    Views
    27,874

    Re: Anyone into 3D printing?

    Hi RobDog!

    It's been a few months, did you do anything with your snap maker?
  24. Replies
    95
    Views
    19,289

    Re: Multi-Billion Dollar Idea

    See this:

    https://www.youtube.com/watch?v=CqaAs_3azSs

    I would never do that because I believe that the information in the brain gets copied to the machine, but not the consciousness. When the...
  25. Replies
    95
    Views
    19,289

    Re: Multi-Billion Dollar Idea

    Just having a higher frequency, it does not mean it's faster. You can transmit more data, but the higher the frequency the more interference you get, and therefore shorter distance.

    Going a little...
  26. Replies
    95
    Views
    19,289

    Re: Multi-Billion Dollar Idea

    When Elon Musk will be done deploying the 12000 satellites, the entire planet will have internet, and high quality phone calls as a result
  27. Replies
    95
    Views
    19,289

    Re: Multi-Billion Dollar Idea

    I didn't read all the posts, cuz there are quite a few.

    Isn't your idea similar to the movie "Ready Player One" ?

    But I can only see this happening if the 3D environment is created by AI guided...
  28. Replies
    135
    Views
    27,874

    Re: Anyone into 3D printing?

    Did you get the chance to try it out?

    I wanted to join the game with the 3 in 1 thing, so I bought a 24V, 30 Watt, 6000 RPM motor, with ER11 collet, and engraving bits from Amazon. I will receive...
  29. Replies
    135
    Views
    27,874

    Re: Anyone into 3D printing?

    Ow, wow, NICE!

    Did you get the laser engraver and cnc carving tool also? or just the 3D printing head?

    Post pictures!!! I'm so excited for you :D
  30. Replies
    135
    Views
    27,874

    Re: Anyone into 3D printing?

    What projects did you make xman2000 ?

    I didn't touch VB6 for more than 10 years, I moved to VB.NET and C#. But when it comes to programming for microcontrollers, I use C / C++

    Also, I moved...
  31. Replies
    135
    Views
    27,874

    Re: Anyone into 3D printing?

    From 3D printing to poop; not happy with the direction this thread turned to.

    But anyways, here's my latest update:

    I made a DIY touch probe, and a program in C++ to control my 3D printer, and...
  32. Replies
    9
    Views
    1,237

    Re: Hi! Oldtimer back!

    It's a custom made one: http://www.vbforums.com/showthread.php?787853-Anyone-into-3D-printing&p=5217111&viewfull=1#post5217111

    The print size is 400mm cube. Maybe I will post a few new pictures...
  33. Replies
    9
    Views
    1,237

    Re: Hi! Oldtimer back!

    Hi everyone!
    It's been a few months since I opened the forum, and when I do, I don't post anymore. But here I am saying hello :)

    How's everyone?

    Me, I'm busy with my 3D printer, I spend most...
  34. Replies
    13
    Views
    42,274

    Re: How do I corrupt an Excel File?

    This thread is 13 years old...
  35. VS 2012 Re: Registry.LocalMachine.OpenSubKey returns Nothing

    I'm getting old, I cant figure out the simple things now :(

    Thanks!
  36. VS 2012 [RESOLVED] Registry.LocalMachine.OpenSubKey returns Nothing

    I have an old, and small application with ~250 lines of code. The .NET framework is 2.0. I want to upgrade to newest .NET framework. Since the app is so small, I thought I will create a new app with...
  37. Replies
    32
    Views
    15,051

    Re: Device tracking

    When I first posted, I thought he is asking out of curiosity. But looking at post #17, he seems serious about it. In that case I don't want to be part of this.
  38. Replies
    32
    Views
    15,051

    Re: Device tracking

    What does OS stand for? To me it stands for Operating System, but the sentence does not make sense in that case
  39. Re: [RESOLVED] I have a glitch in my 3D starfield. I can't figure out what's wrong.

    I didn't notice that, nice catch!

    The fix for that would be something like:
    If delta < 0 Then delta = CSng(((currentTime + 1000) - previousTime) / 1000)
  40. Re: [RESOLVED] I have a glitch in my 3D starfield. I can't figure out what's wrong.

    Well, your speed is also high: 20
    That's why I put the division there because it affects both time & speed

    [Edit], Ow, never mind, I just saw you changed it to .006
Results 1 to 40 of 497
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width