User Profile

Collapse

Profile Sidebar

Collapse
coolminded
coolminded
Last Activity: May 29 '16, 08:05 AM
Joined: Mar 22 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Print Scrollable windows Form in vb.net

    I have lots of labels in my form and its AutoScroll Property is set True. Now i'm trying to print this form but only the visible part of the form is printed not the whole form. I used Visual Basic PowerPacks and set the PrintAction property to PrintToPrinter.

    Code:
    PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.Scrollable)
    Code:
    PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOp
    ...
    See more | Go to post

  • I need to move a label at a time. just need to interchange the position of some labels as needed.
    See more | Go to post

    Leave a comment:


  • coolminded
    started a topic Move Dynamically generated labels

    Move Dynamically generated labels

    I have dynamically generated labels in my code. It is working fine. I want to change the position of those labels.
    Code:
     
    Private Sub Form10_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Try
                Dim c As Integer = 10
                Dim l As Integer = 0
                Dim lft As Integer = 20
                For i = 1 To c
                    For
    ...
    See more | Go to post

  • coolminded
    started a topic Deserialize JSON Array in vb.net

    Deserialize JSON Array in vb.net

    i'm new to json. i have json array and i want to deserialize it.
    my string is :
    Code:
    [
    	{
    	"Id": "1234",
    	"AlbumName": "Album Name",
    	"Songs": [
    		{
    		"AlbumId": "1234",
    		"SongName": "Song 1",
    		"SongLength": "4:11"
    		},
    		{
    		"AlbumId": "1234",
    ...
    See more | Go to post
    Last edited by Rabbit; Dec 15 '15, 05:02 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.

  • coolminded
    started a topic column ctid does not exists error in vb6

    column ctid does not exists error in vb6

    dear all,
    i'm using vb6 and crystal report 9.2. when i use a view to open the report, it throws error column "ctid" does not exists.
    how can i get rid of it?
    See more | Go to post

  • coolminded
    started a topic vb 6 and windows 7 64 bit

    vb 6 and windows 7 64 bit

    hi all,
    i have developed one s/w in vb6 in windows xp and it works well. but when i install that software in another pc having windows 7 OS with 64 bits, it doesn't work.
    is it possible to use that s/w in windows 7 OS with 64 bits???
    thanx
    See more | Go to post

  • coolminded
    started a topic read bar code

    read bar code

    how to read data from bar code scanner?
    See more | Go to post

  • thank you debasisdas for your answer. but how to know that the database is inaccessible. because it will show the error message with "connection error" when the database is not accessible.
    thank you
    See more | Go to post

    Leave a comment:


  • coolminded
    started a topic how to find the active connection string

    how to find the active connection string

    i have two databases for a single software in two different servers. i want to connect to the active server. if one server is down then it should automatically connect to another server. how to find out which one is active which is not ?
    i have used postgres database and vb6.
    See more | Go to post

  • coolminded
    started a topic connecting vb6 with orcle through odbc

    connecting vb6 with orcle through odbc

    dear all,
    i'm new to oracle. i used postgresql for my back end n used odbc for the connection. my connection string was :

    Code:
    public Sub getconnect()
    Set ws = CreateWorkspace("","abc","',dbUseodbc);
    Set db=ws.OpenDatabase("",,False,"ODBC;dsn=PostgresSQLabc;uid=postgres;pwd=admin");
    End Sub
    but how could i write the same connection for oracle
    i used:...
    See more | Go to post
    Last edited by Meetee; Jun 10 '11, 12:23 PM. Reason: Code tags added

  • coolminded
    started a topic upload file in jsp
    in Java

    upload file in jsp

    hi all,
    i have uploaded files in jsp on a single form quite comfortably and it works well too.
    but now i got one problem. my problem is:

    i have a form where i displayed the id, name of employee in each row. now i want to browse CV for each employee and add it in the database. i put one browse button on each row and browsed the file, but i couldn't save that. i have used each row as a form and placed a button on each row....
    See more | Go to post

  • coolminded
    started a topic access tables from different server

    access tables from different server

    dear all,
    i have two servers and my software is in one of those servers. both the servers have databases : db1 and db2.

    i tried the following query :
    Code:
    select * from server2.db2.dbo.tblname
    from server1. it shows the error

    Msg 7202, Level 11, State 2, Line 1

    Could not find server 'server2' in sysservers. Execute sp_addlinkedser ver to add the server to sysservers.
    ...
    See more | Go to post

  • connection problem for vb with mssql 2005

    hello all,

    i'm getting problem while connecting another mssql server.
    but i can connect with localhost.

    my connection string that runs is

    con.Open "Provider=SQLOL EDB.1;Integrate d Security=SSPI;P assword=admin12 3;Persist Security Info=True;" & _
    "User ID=sa;Initial Catalog=dtbs;Da ta Source=MYCOMPUT ER\SQLEXPRESS"

    where MYCOMPUTER is local host
    ...
    See more | Go to post

  • coolminded
    replied to lead and lag problem
    i have a table currency with fields
    id serial,
    currency_id varchar(30),
    selling_rate numeric(12,2),
    updated_date timestamp.

    what i need is a report to show the details of the currency_id as
    currency_id prev selling_rate curr. selling_rate
    update_date


    i ihave data in my table as

    id currency_id selling_rate updated_date...
    See more | Go to post

    Leave a comment:


  • coolminded
    replied to lead and lag problem
    thank you for the reply.

    can you please suggest me what shall i do in 8.0 to use such functions. i mean any other method to do so???...
    See more | Go to post

    Leave a comment:


  • coolminded
    started a topic lead and lag problem

    lead and lag problem

    hi all,
    i'm using postgresql 8.0.0 and i want to use the lead and lag window functions but it says "function doesn't exist when i run the following command
    select lag(selling_rat e,1,'0') from currency

    and i again run the following command
    select selling_rate, lead(selling_ra te) over ( order by selling_rate asc) from currency
    then it throws the error "syntax error at or near "over" at...
    See more | Go to post

  • coolminded
    started a topic date between problem

    date between problem

    hi all,
    i have created a function. i got the problem. it doesn't show the out put if i put between condition. but it works perfectly when used only ">" condition only in the date
    ie
    create or repl...
    ...
    ..
    to_char('||quot e_ident(date_ty pe)||',''yyyy-mm-dd'')
    > '||from_date ;

    ....
    ....
    ....

    the function is

    CREATE...
    See more | Go to post

  • thanx for your quick response.

    what i want is i have a table tbl_student with field names:
    id
    name
    class
    applied_date
    registered_date
    confirmed_date
    stage

    if the stage of the student is 1 then i have to search by applied_date, if the stage is 2 then the search is by registered_date and if the stage is 3 then the search is by confirmed_date,
    what i want is if i know the stage,...
    See more | Go to post

    Leave a comment:


  • passing table field name in postgres function

    hi all,
    can i pass field name of a table as a parameter in a function created in postgres,
    what i mean is i have one table :student with field names
    id
    name
    add.

    can i create a function where i can pass either of the fieldname as a parameter.
    so that 1 function can be used for either of the conditions.

    TIA
    See more | Go to post

  • thanx for ur quick response.
    i just went through the site.

    but now i got next problem.
    now i connect the database in a network.
    the ip of the server is 192.168.1.100
    the name of the computer is comp1
    the database is dtbs

    i use the connection string :
    conn.Open "Provider=SQLOL EDB.1;Integrate d Security=SSPI;P assword=pwd ;Persist Security Info=True;User ID=administrato r;Initial Catalog=dtbs;Da ta...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...