User Profile

Collapse

Profile Sidebar

Collapse
Abhiraj Chauhan
Abhiraj Chauhan
Last Activity: Dec 6 '08, 08:59 AM
Joined: Oct 1 '08
Location: India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Abhiraj Chauhan
    replied to graphics in vb.net
    in .NET
    thank you for replying....
    this is difficult for me understand what this pseudo code suggest.
    suppose i want to draw 2 rectangles having height and width 300 and 300 and join them by a line of 8000 obviously it will go out of bounds i.e it will be outside of visible area ,i want them within picture box no matter how much is the value .plz send some sample codes in vb.net ,...
    See more | Go to post

    Leave a comment:


  • Abhiraj Chauhan
    replied to graphics in vb.net
    in .NET
    Yes ,that is exactly what i want to say that drawn lines goes out of visible area,
    it will be very helpful for me if u can let me know how to this,also if some sample codes.thanku for replying....
    See more | Go to post

    Leave a comment:


  • Abhiraj Chauhan
    replied to graphics in vb.net
    in .NET
    Well thank u for replying once again ... this is my code i had done in one of module having another form that contain picture box on which i had to draw.
    [code=vbnet]
    Sub Column_Draw(ByV al DrawControl As Graphics, ByVal DrawStr As String)
    Dim NMAXX,NMAXY,NMI NX,NMINY As Single
    Dim Dc,ds As DAO.Recordset
    Dim dss As DAO.Recordset
    Dim X, Y As Single
    DrawControl.Sca leTransform(-1,...
    See more | Go to post
    Last edited by Frinavale; Nov 12 '08, 02:08 PM. Reason: added [code] tags

    Leave a comment:


  • Abhiraj Chauhan
    replied to graphics in vb.net
    in .NET
    I m not using DirectX ,..just Graphics Object..Thank u for replying
    i tried your suggestion but it is not working,After that i used picture on my form but still drawing is going beyond the area of picturebox on my form....
    See more | Go to post

    Leave a comment:


  • Abhiraj Chauhan
    replied to Coordinate system to bottom left
    in .NET
    Well i use this
    g.TranslateTran sform(0,Picture box.height) where g is Graphics...But This is of no use can u suggest me some sample codes....
    See more | Go to post

    Leave a comment:


  • Abhiraj Chauhan
    started a topic Coordinate system to bottom left
    in .NET

    Coordinate system to bottom left

    Hello.

    I want to set my coordinate-system-origin (0/ 0) to the bottom-left corner.
    How is that done in VB.net the best way?



    thanks.
    See more | Go to post

  • Abhiraj Chauhan
    started a topic graphics in vb.net
    in .NET

    graphics in vb.net

    I need someone to make an example of how to create a graphics window in VB.net 2008.

    I understand the basics of how to draw a rectangle and lines etc.

    What I need is an example of how to make a window that goes in a form that does the following:

    1. When the application is run, the form has a graphics area within the form (not the entire form) colored white.

    2. Two text boxes (not in the...
    See more | Go to post

  • Then it Will give us a diagonal Connection....W ell Thank u ........
    See more | Go to post

    Leave a comment:


  • Well thanks for replying....... .Actually in my project i have 2 forms one consist of a datagrid and other form consisting of a picture box,,,,,and now when you enter data in first form you can see the drawing of your data in the other form.

    also i am using vb.net for first time so if u can help me what should i use for drawing lines ...... system.drawing. graphics or system.windows. forms.paintEven targs
    See more | Go to post

    Leave a comment:


  • Object reference not set to an instance of an object.

    I am trying to draw line.....Actual ly these codes were previously in vb 6...i tried to change them in vb.net....but every time i try to run the application i got this error ."Object reference not set to an instance of an object"...plz help me regerding this error....here are my code

    Code:
    Sub BeamDraw(ByRef DrawControl As PaintEventArgs, ByRef ds As DAO.Recordset)
            Dim Y5 As Double
            Dim X5 As Double
    ...
    See more | Go to post

  • Abhiraj Chauhan
    replied to Control arrays
    in .NET
    Actually Data is going only in Plinth Table whether i select Ist option or 2nd option...this is my problem..n now it seems that i m going to pull my hair.....my codes are right but what is the prob i don't know.......

    n also this short armed VB is vry dangerous....he he...
    See more | Go to post

    Leave a comment:


  • Abhiraj Chauhan
    replied to Control arrays
    in .NET
    Well....Thank u for replying....... .I can't drop msflex grid as i had used it in my whole project...n ...i don't understand when you say why are they continuing with Vb As far as i think VB is like Trynasouras Rex in the field of Languages.....I have two Radio buttons..i want when i click 1st option the data in the datagrid fits in the plinth beam table n when 2nd option is clicked data fits in Floorbeam table.....n code for both radio buttons is......
    See more | Go to post
    Last edited by Frinavale; Oct 11 '08, 03:43 PM. Reason: added [code] tags

    Leave a comment:


  • Abhiraj Chauhan
    started a topic Control arrays
    in .NET

    Control arrays

    i am new to vb.net......i have two radio buttons associated with msflexgrid version 6 in vb.net ..can any body help me out how can i create control array...In vb6.0 it was it was ** easy ....but i don't why MS decided to drop this facility from VB.net... In vb 6.0 it was like this

    Code:
      Select Case Index
                Case 0
                    EntryOption = 0
                Case 1
                    EntryOption = 1
    ...
    See more | Go to post
    Last edited by kenobewan; Oct 10 '08, 01:19 PM. Reason: Use code tags

  • Abhiraj Chauhan
    replied to migration vb 6.0 to vb.net
    in .NET
    i don't have .net code......I want to migrate my vb6.0 code to vb.net ....
    See more | Go to post

    Leave a comment:


  • Abhiraj Chauhan
    replied to migration vb 6.0 to vb.net
    in .NET
    I don't have .net code
    See more | Go to post

    Leave a comment:


  • Abhiraj Chauhan
    started a topic migration vb 6.0 to vb.net
    in .NET

    migration vb 6.0 to vb.net

    Plz if any one can hlp me ,,i want to change this vb 6 code to vb.net after upgrading i had so much trouble about coordinate system changes in vb.net......... ...here is my code...
    [code=vbnet]
    Private Sub AddColumn(DrawS tr As String, szPos As String, DrawControl As Control)
    'drawstr contains name of column to be drawn
    'szpos contains name of column with respect to which the column is drawn
    'Add column...
    See more | Go to post
    Last edited by Frinavale; Oct 8 '08, 03:06 PM. Reason: added [code] tags

  • Any Idea which line is Causing it to say that..


    Once you get the line number, you can then see which objects on that line are being dereferenced. The exception is thrown because one of the objects being dereferenced is not yet initialized.
    See more | Go to post

    Leave a comment:


  • Thank you replying, sorry to be late..this is the line that is Causing me so much of problems....

    Dc = CurrentDb.OpenR ecordset("table Name", DAO.RecordsetTy peEnum.dbOpenDy naset)...
    See more | Go to post

    Leave a comment:


  • Object reference not set to an instance of an object

    here are code in vb.net when ever i try to delete entry... this error occurs . Null reference Exception was unhandled....Us e new key word to create an object reference.Plz if anyone can help how can i solve this problem.

    Code:
    Private Sub Deldata(ByRef dfname As String)
            Dim Dc As DAO.Recordset
            CurDb = CurrentDb
            Dim SSTR As String
            Dc = CurrentDb.OpenRecordset("tableName",
    ...
    See more | Go to post
    Last edited by Curtis Rutland; Oct 1 '08, 01:34 PM. Reason: Added Code Tags - Please surround your code with [CODE] and [/CODE]
No activity results to display
Show More
Working...