Search:

Type: Posts; User: Optional

Page 1 of 6 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    7
    Views
    937

    2.0 Re: Canceling async calls

    Ignore my comment.
    I seem to have mixed up the use of a background process with the use of the BackgroundWorker process.

    Appologies for the missinterpetation.
  2. Replies
    1
    Views
    2,348

    Re: Memory Mapped Files

    Hi Royal,

    Your exception is:
    The specified Type must be a struct containing no references.
    Parameter name: type

    If the error is refering to the types of your variables declared in your...
  3. Replies
    6
    Views
    1,164

    Re: DataGrid right alignment (offset)

    To show a precistion number as a whole number use this:



    Format(myPrecitionNumber, "#")
    or
    Format(myPrecitionNumber, "0")


    This will also apply rounding, meaning 2.5 and higher is going...
  4. VS 2008 Re: [RESOLVED] Best Practice for initiating long running Tasks from ASP.NET

    In my original post I stated I can't get my head around the logic of things.

    I don't think anyone could have simplified it any better than you did mendhak.

    Thank you very much. You hit the nail...
  5. VS 2008 Re: Best Practice for initiating long running Tasks from ASP.NET

    I'm going to resolve this threat now as I'm going take it WCF is something I will have to look at.

    Just one last question if you could find time to answer it please.

    I will need the service to...
  6. VS 2008 Re: Best Practice for initiating long running Tasks from ASP.NET

    Thanks for that info.
    I went off looking after your response and I'm currently looking into it here:
    http://msdn.microsoft.com/en-us/library/ms733069.aspx

    Looks like I'm going to have spend some...
  7. VS 2008 Re: Best Practice for initiating long running Tasks from ASP.NET

    I need a solution which does not depend on IIS, the main reason I went for a windows service and not a web service originally was because I read that there can be issues in IIS with idel times on web...
  8. VS 2008 Re: Best Practice for initiating long running Tasks from ASP.NET

    I totally agree with you on that, however, my WCF knowledge and experience is 0 :(

    I will try my best to find enough resources on WCF to be able to accomplish the same but if I'm absolutly stuck...
  9. VS 2008 [RESOLVED] Best Practice for initiating long running Tasks from ASP.NET

    Hi Guys,

    I'm having a bit of difficulties getting my head around the logic of things on this one.

    In it's most simple form, I have to write a website (intranet) which will allow a user to kick...
  10. Replies
    10
    Views
    3,065

    Re: Recordset.Filter with "*" as a parameter

    Your actual RecordSet.Filter limitations are:
    In a LIKE clause, you can use a wildcard at the beginning and end of the pattern (for example, LastName Like '*mit*'), or only at the end of the pattern...
  11. Replies
    35
    Views
    2,455

    Re: Validating characters in a string

    Convert all text to upper case when comparing.
    For example:


    If (TPX.ToUpper() = "TPX") Then
    ...


    Edit
    Sorry danasegarane, didn't see your reply :)
  12. Re: SELECT a Column from each row into a single row

    I have used Excel for now. Using Formulas was just that much easier to copy the data into the correct rows.
    Due to Excel's simplicity in using Formulas I have complelty never thought about using it...
  13. Re: SELECT a Column from each row into a single row

    After I tried UNION and saw the results I remembered I tried that already.

    The UNION statement places all the values into a single column in many rows.
    Listing all Identifiers first, then all...
  14. Re: SELECT a Column from each row into a single row

    I give the union a shot.

    I know the values belong together because I have the source of the original data and I spot checked a few hundred of those records to make sure they didn't get mixed up.
    ...
  15. Replies
    11
    Views
    5,159

    Re: shell command

    Just tested:
    Shell "notepad.exe", vbHide

    Works fine. notepad is not visible in the taskbar.
    but I can see notepad.exe running in task manager.

    This is working as expected.

    I'm assuming...
  16. Replies
    11
    Views
    5,159

    Re: shell command

    oh man, I can't believe I never saw that. when I read command prompt I thought of a prompt to the user. I see now, what he ment was the Command window is showing.

    nice one akhileshbc.
    As usualy,...
  17. [RESOLVED] SELECT a Column from each row into a single row

    Hi guys,

    well, there is a first for everything. I'm actually for the first time at a loss to how to make a SQL to achieve what I want.

    I have a table in a Database, let's name it myTable.
    Due...
  18. Re: is it possible to select rows in mshflexgrid using the ctrl key?

    There is a very nice solution posted on another forum (sorry VBForums). Check out the posts by WSH2.

    Flexgrid - Select one/multiple row(s)


    Edit
    At closer ionspection it looks similar to what...
  19. Replies
    11
    Views
    5,159

    Re: shell command

    VB6 simply uses Shell().
    What you specify within the shell command is specific to the application you are executing, in your case WinRar. It seems you need to find a command switch for winRar not...
  20. Replies
    4
    Views
    1,847

    Re: Application error after closing

    Opening a connection and using it to call a stored procedure or execute a piece of SQL and then close it does not take extra time.

    What takes extra time is when your application has to deal with...
  21. Replies
    11
    Views
    5,159

    Re: shell command

    Are you asking about the shell command as used by VB6 or about how to use the winrar parameters when using winrar through command line ?
  22. Re: [RESOLVED] Problem to display value when textfield_GotFocus event

    I'm not saying you have to replace your code. I'm only saying that up-front I try to avoid got and lost focus events if at all possible. Personally I only use the validate event to well,....process...
  23. Re: Problem to display value when textfield_GotFocus event

    The Validate event is triggered before lostfocus and before the next control's getfocus.

    Only if the validate event is not told to cancel the action will the lostfocus event and any subsequent...
  24. Replies
    13
    Views
    2,793

    Re: How to infinite loops?

    If you run the application from within the VB6 code IDE.
    When it freesez, press the left CTRL Key + Pause/Break key, this will force-stop the code and show you where it is at, then using F8 you can...
  25. Replies
    13
    Views
    2,793

    Re: How to infinite loops?

    What do you mean by "Hang" ?
    Does your application freeze ?

    Unless I'm missinterpeting this, it does sound like your loop is running alright but is hogging all the resources.

    Add the line...
  26. Replies
    5
    Views
    773

    Re: Option group - Filter

    nice one.

    Main thing is it's fixed :)

    Don't forget to mark the thread as resolved.
    Instructions in signature :)
  27. Replies
    5
    Views
    773

    Re: Option group - Filter

    Hi,


    I would need a little more details regarding your design.

    What do you consider a subform ?

    Is your main form (frmEvent) an MDIform and the subform (frmAssignments) a form with the...
  28. Replies
    2
    Views
    490

    Re: What is class? What is its function?

    To add to Milk's example and to highlight the more basic meaning of class and function in a general sense in programming:

    Class
    "A class is a construct that is used as a blueprint (or template)...
  29. Replies
    8
    Views
    6,227

    Re: Data Report with SQL Query

    Just in case it's the SQL and not the RecordSet assignment.

    As I don't know your data is, I can only speculate.

    The id column your query references might be NULL or a field with white-spaces ?...
  30. Replies
    11
    Views
    1,102

    Re: Variables Declaration

    Each sub routine or function can have their own decleration of the same-named variable.

    There is somethign annoying VB6 does though.

    If I declare:
    Dim myVariable as string in one sub and Dim...
  31. Re: C#Net2008 - Pass parameters to Stored Procedure

    If you simply want to know why your errors happen then here you go:

    Error 1
    Non-invocable member 'System.Data.SqlClient.SqlCommand.Parameters' cannot be used like a method.

    This is caused by...
  32. Re: C#Net2008 - Pass parameters to Stored Procedure

    I thought post Post 6 included all that was there to know to solve the problem.

    It explained how to add parameters, how to execute the statement and even had a link to the MSDN of SQL Command...
  33. Replies
    13
    Views
    1,057

    Re: Email Validation Function Issue

    Going by your original post.

    You need to separate the 2 types of validations you require.
    Using you example of "xxx.ttt@hotmail.then"

    Validate Format
    You need to validate the format of the...
  34. Re: Error: Statement is not valid in a namespace

    Some of your methods are not within class, module, interface or structure tags.

    All of your methods must be between one of those tags.

    "Statement is not valid in a namespace" is a very clear...
  35. Re: C#Net2008 - Pass parameters to Stored Procedure

    There should be no difference in the code. The code samples given to you were just that, samples.

    If you don't know what ?? is or that a statement must end in a ; instead of a : and you need to...
  36. VS 2008 Re: Use the New keyword to create object instance

    At the top of the threat is a menu option named "Thread Tools", select it and lcik the option to Mark the thread as Resolved. that will resolve the Thread :)

    Edit: sorry for repetative post,...
  37. Replies
    5
    Views
    2,006

    3.0/LINQ Re: Do I need to lock get or only set?

    You find the more detailed answer in the comments of this link:
    http://stackoverflow.com/questions/505515/c-thread-safety-with-get-set

    I don't think there is a better way of explaining it than...
  38. Replies
    31
    Views
    2,332

    VS 2008 Re: 5*5*5*5*5*5=15625

    I updated my code to VB.NET.

    Consider using objects (classes) instead of iterrating through controls generically as its more managed and less perceptible to errors.

    Also, if you ever have a...
  39. Replies
    31
    Views
    2,332

    VS 2008 Re: 5*5*5*5*5*5=15625

    Calculating all those string on the fly is a bit tedious and can get confusing and result in unmanagable code at best ones you start adding more rows of controls to the form to multiply.

    Here is...
  40. Replies
    6
    Views
    2,592

    Re: Connection dropped but active

    I'm a bit at a loss now as it seems a sporadic occurrence.

    I did some searching and it could be related to an issue with network conectivity.

    You establish a connection to the database just...
Results 1 to 40 of 215
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width