Search results

  1. S

    Remote execution

    Ok. So you can bypass the security and break any security law :)
  2. S

    Remote execution

    Well giving the user the ability to execure your scripts is wrong, to start with. The program will probably won't work cuz the users have user privilages. Trying to raise their privilages is a nono. So you can write code that will impersonate the user as an administrator and then will run the...
  3. S

    Saving .exe Files

    From the toolbar you must select "Release" instead of "Debug" also if you have referenced any componets (dll's) you must include them with you executable. Or you can make a setup project.
  4. S

    Create a Access Table in .net

    Hi. I want to create an access table and ad some fileds. i use this: Dim dbs As DAO.Database, dbsContacts As DAO.Database Dim tdf As Object, fld As Object dbs = accessapplication.CurrentDb tdf = dbs.CreateTableDef("IPDataTable") Dim long1 As Long = 10 fld =...
  5. S

    Table Relationships Help

    Thanks i have solved it (with a little help). You just change the pk_tablename to fk_tablename and the opposite.
  6. S

    Drag Drop Between Listview and DataGridView

    Ok, i'll give it a try. Thanks.
  7. S

    Drag Drop Between Listview and DataGridView

    Hi. I do a drag and drop operation between a Listview and a Datagridview. The problem is that i cannot get the Cell coordinates when i drop the data since the DataGridView_DragDrop event only pronides points(x,y) and i need rectangle coordinates for the datagridview Cell.
  8. S

    Forms Drawing Problem

    Ok. My code seems to work now. I included a "me.refresh" after i add a form to the mainform and it goes well as far as i can tell but any comments or suggestions are very welcome.
  9. S

    Forms Drawing Problem

    Hi. I'm asking for your help again because i run into some problems. Ok first i'll post my code and then explain (exuse some Greek comments in the code :) ) Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint Dim strTableName As...
  10. S

    Forms Drawing Problem

    I was thinking to use a dataset so i could have the name of the form and it's location and also the form that has a relattionship with it. So i guess when i use invalidate the removed rows will not draw. Ok i'll try and if i have problems i'll post them. Thanks again.
  11. S

    Forms Drawing Problem

    Thanks for the tutorial, i'll look into it. Yes i can explain. Think of it as the query designer in Access. A form is shown(showdialog) and you select the table which is added in the backgroung along with other tables with lines showing the relations. (actually i used dialogresponse and i remove...
  12. S

    Forms Drawing Problem

    Can you give me an example? Let's say that i have the line coordinates between my forms in an arraylist or a dataset. Ok the paint event hits multiple times. What must i do? Have in mind that i want to paint and remove the lines when the forms move (locationchange and sizechange events). Also...
  13. S

    Forms Drawing Problem

    Hi. Listen i solved the problem BUT LISTEN TO THIS! 1st i had my form show up before i draw. Let's say that this is somewhat logical. 2nd if you have breakpoints and some of them hit then the lines will not draw!!!!!!!!!!!!!!!!!!!!! Unbelievable! Microsoft did it again!! (i have 2005 team...
  14. S

    Forms Drawing Problem

    I've written the exact code on a new application and added the extra code you gave me below the forms designer "after Me.ResumeLayout(False)" I press the button but it does not do anything. Also the problem i have is that even if it draws a line, when i want to add another line in the form it...
  15. S

    Forms Drawing Problem

    Hi. Your example does not work. (i guess you wanted to write overrides onpaint etc, i've corrected but it does not work) I've also used "New Pen" but nothing...
  16. S

    Forms Drawing Problem

    i'm trying the Dim G as graphics = Graphics.FromhWnd(YourForm.Handle) it does not work. YourForm is the shodialogform or the mainform. I'm assuming the showdialog form. But it does not work , or i'm using it wrong. Dim Grr As Graphics = Graphics.FromHwnd(Showdialogform.Handle) ' Dim grr As...
  17. S

    Forms Drawing Problem

    Im not realy sure that the paint event will use the function that i call or all the functions that reside inside it. I don't just have 1 function for painting. l will try your code and then i'll try to put all the functions in the paint event. I have tried to put a boolean to control the...
  18. S

    Forms Drawing Problem

    Hi. I have a problem with drawing on forms. I use a form (with showdialog) to add forms in a main form that is shown behind the showdialog form. The problem is that when i use the graphics.drawline to draw lines between the forms, it only works AFTER i close the showdialog form. (meaning that if...
  19. S

    Table Relationships Help

    Hi. I have some tables and i want to view their Relationships. Let's say i have a table named "Help" i use the Stored procedure "sp_fkeys" to get the Fkey-keys of the tables that refear table "Help". What i cannot do is the opposite. Meaning that i want to see the tables that "Help" is...
  20. S

    Problem with Service displaying a form

    I've disabled the timer and the problem is still there. The SQL connection was tested in a windowsApplication and works. Something to do with service not displaying a form correctly. Also tried a suggestion for "application.run" but does not work. :mad:
Top Bottom