CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: satanorz

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    5,100

    Re: Get Date & Time From SQL Server Using VB

    Duh? what's the problem.
  2. Replies
    4
    Views
    5,100

    Re: Get Date & Time From SQL Server Using VB

    You can make a query to the server using ADO.NET components.

    If it's SQL server, the query may look like this one:


    SELECT GETDATE();


    Hope it helps :D
  3. Replies
    4
    Views
    2,824

    Re: SQL Express Backup from vb.net 3.5

    Do you want the code to call your backup Stored Proc?
  4. Replies
    6
    Views
    1,144

    Re: Displaying the wrong results

    Try using mod & truncate division. Also the code will only work if the difference amount is specified in pennies



    Dim lblCost As Double = CDbl(Txtcostitm.Text)
    Dim lblAmnt As...
  5. Replies
    0
    Views
    768

    UserControl bind not saving

    Hi there!

    I'm coding an app using VB.NET 2005, and i've a small problem.
    I've a custom control derived from UserControl, that has an overrided version of the Text property with Bindable set to...
  6. Replies
    1
    Views
    806

    Problem with manual databinding

    Hi all!, he're we are with a strange problem.

    Using VB.NET 2005 on Access through OleDB components.

    I've a textbox in a custom control, that i need to be sync with a field on datatable, so i've...
  7. Replies
    5
    Views
    976

    Re: Protect component library

    Thanks HairyMonkeyMan, as i've readed about, it seems to work like this other piece of code.



    Private Function GetMode() As Boolean
    Return...
  8. Replies
    3
    Views
    2,503

    Re: adding row to datagridview programatically

    Try adding the data from the textbox in the same dataset that is assigned in the Datagridview.
  9. Replies
    5
    Views
    976

    Re: Protect component library

    I'm the first i know that this code is not a hardcore protection, but i only need a minimal protection, so my code is not everywhere so easy, i think about it like a "filter" for begginers.
    ...
  10. Replies
    5
    Views
    976

    Protect component library

    Hi all!, i've some code to protect .net applications but now i'm in need to protect a component library.

    I've seen some components in demo version that allows the user to work normal in design...
  11. Replies
    3
    Views
    788

    Re: Manage WEB in background

    Yes, but need to store cookies at first place, so it's a little more complicated.
  12. Replies
    3
    Views
    788

    Manage WEB in background

    Hi all, long time since last time i visit you.

    My problem now is very rare i think, i need to login, manage and upload files to a third party web (like Imageshack), using an application in .net,...
  13. Replies
    3
    Views
    1,928

    Re: Get Time on Other PC and SQL Problem

    To the first question, there is a service called DayTime, that needs to be activated on the 'other' pc.
    When a tcp connection is made to the port 13 of the remote pc with daytime service activated.....
  14. Replies
    10
    Views
    2,348

    Re: SendKey problem

    Here's the SendKey class help

    http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx

    In it you can find all the keycodes and combinations.

    The code of the shift is '+'...
  15. Replies
    4
    Views
    1,023

    Re: Read Only File

    Use the FileInfo class

    More info at http://msdn.microsoft.com/en-us/library/system.io.fileinfo.aspx

    An example:



    Dim Info As New FileInfo("C:\diablo\diablo.exe")
    MsgBox("The file is...
  16. Replies
    10
    Views
    2,348

    Re: SendKey problem

    My code is now tested and works fine, maybe it's a problem with another program that fires when this especific key combination is pressed.. it hangs too when you press Alt + Plus with keyboard?
  17. Replies
    10
    Views
    2,348

    Re: SendKey problem

    Hi nader!, i've not tested but, try this way



    System.Windows.Forms.SendKeys.Send("%{ADD}")


    If your combination is ALT + Plus this may work
  18. Re: how to extract data for selected month

    I use 3 tables to save many months for a single Employee without saving all the employee data at every record.

    If you don't need the Month description, you can do it with 2 tables only.

    Later,...
  19. Re: how to extract data for selected month

    TABLE [Employee]

    Emp_id
    Emp_name
    Emp_sal
    Emp_attandence


    TABLE [Months]
  20. Re: Creating and Dropping temporary table

    Another solution maybe is let the database server do the things that he know to do.

    Maybe an stored proc making all the stuff will save your hair :p

    You can use transactions if supported by...
  21. Re: help ( detect pc that is on and shutdown it)

    You can ping the host you want to know if up with

    http://msdn.microsoft.com/en-us/library/system.net.networkinformation.ping.aspx

    If you are using tcp/ip client/server, then after you checked...
  22. Replies
    2
    Views
    800

    Re: getting image type

    Hi!

    In the 'case' of the second code, you're always comparing with the same thing

    System.Drawing.Imaging.ImageFormat.Bmp

    So, if there is an JPG, the select case will return the case else...
  23. Re: SQL 2005 - Stored procedure parameter problem

    Solved! :cool: :D

    I've found a solution for my problem googling for a while.

    Instead of passing the table, i pass only the name of it.
    Then, i create a nvarchar variable to build the query...
  24. Re: SQL 2005 - Stored procedure parameter problem

    The problem is that i need the parameter to be a table, because i need to make an update on it :S
  25. [RESOLVED] SQL 2005 - Stored procedure parameter problem

    Hi all!, I've a SQL Express 2005 database that have many tables with AFTER INSERT/UPDATE triggers that does the same on all the tables.

    Then, i've created an StoredProcedure to be called within...
Results 1 to 25 of 150
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured