Jump to content
Xtreme .Net Talk

koen

Avatar/Signature
  • Posts

    31
  • Joined

  • Last visited

Everything posted by koen

  1. koen

    codeprint

    yep I found one but you have to pay for it... http://www.bykeyword.com/downloads/software-8/download-8697.html this sucks...
  2. koen

    codeprint

    is there a way to print all your code from a project in vb.net? in vb6 there was a tool named codeprint. thx
  3. ellooow I have read the sticky post about deploying the .NET framework and MDAC, Microsoft Visual Studio .NET 2003 Bootstrapper Plug-In. but I am using VS2002 is there also a way to distribute them both with VS2002? greets koen
  4. I did it in the code... for the people that are interested API --> SQLConfigDataSource
  5. try to search something about the like command in sql...
  6. elloow Can somebody tell me if it's possible to create an ODBC while you are running your setup... So that you don't have to make it manually after the setup thx
  7. I have tried all possibilities I could find on the net but nothing works... Does somebody have an other idea?
  8. ellow, I have got a problem with installing my program on a users PC, when you are logged in as administrator there is no problem but when you don't have admin rights the following error occurs when running the program... it's only when I click on my update form. In that form I have a datagrid using the dll of rustemsoft... I tried to higher the trust of this dll and I gave it full trust but that didn't help. I don't know how to solve it in an other way? any sugestions?? thx koen > The application attempted to perform an operation not allowed by the > security policy. The operation requuired the securityException. > > ************** Exception Text ************** > System.Security.SecurityException: Requested registry access is not allowed. > at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) > at RustemSoft.DataGridColumns.DataGridComboBoxColumn.Edit (CurrencyManager > Source, Int32 Rownum, Rectangle Bounds, Boolean ReadOnly, String > InstantText, Boolean CellIsVisible) > at System.Windows.Forms.DataGrid.Edit(String instantText) > at System.Windows.Forms.DataGrid.Edit() > at System.Windows.Forms.DataGrid.set_CurrentCell(DataGridCell value) > at System.Windows.Forms.DataGrid.OnMouseDown(MouseEventArgs e) > at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons > button, Int32 clicks) > at System.Windows.Forms.Control.WndProc(Message& m) > at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) > at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) > at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, > IntPtr wparam, IntPtr lparam) > > > ************** Loaded Assemblies ************** > mscorlib > Assembly Version: 1.0.3300.0 > Win32 Version: 1.0.3705.0 > CodeBase: > file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll > ---------------------------------------- > prMK > Assembly Version: 1.0.1578.23386 > Win32 Version: 1.0.1578.23386 > CodeBase: file:///C:/Program%20Files/Metes/MK%20Demo/prMK.exe > ---------------------------------------- > System.Data > Assembly Version: 1.0.3300.0 > Win32 Version: 1.0.3705.0 > CodeBase: > file:///c:/windows/assembly/gac/system.data/1.0.3300.0__b77a5c561934e08 9/system.data.dll > ---------------------------------------- > System > Assembly Version: 1.0.3300.0 > Win32 Version: 1.0.3705.0 > CodeBase: > file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/sys tem.dll > ---------------------------------------- > Microsoft.VisualBasic > Assembly Version: 7.0.3300.0 > Win32 Version: 7.00.9466 > CodeBase: > file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.3300.0__b03f5 f7f11d50a3a/microsoft.visualbasic.dll > ---------------------------------------- > System.Windows.Forms > Assembly Version: 1.0.3300.0 > Win32 Version: 1.0.3705.0 > CodeBase: > file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c 561934e089/system.windows.forms.dll > ---------------------------------------- > System.EnterpriseServices > Assembly Version: 1.0.3300.0 > Win32 Version: 1.0.3705.0 > CodeBase: > file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.3300.0__b 03f5f7f11d50a3a/system.enterpriseservices.dll > ---------------------------------------- > System.Drawing > Assembly Version: 1.0.3300.0 > Win32 Version: 1.0.3705.0 > CodeBase: > file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d5 0a3a/system.drawing.dll > ---------------------------------------- > System.Xml > Assembly Version: 1.0.3300.0 > Win32 Version: 1.0.3705.0 > CodeBase: > file:///c:/windows/assembly/gac/system.xml/1.0.3300.0__b77a5c561934e089 /system.xml.dll > ---------------------------------------- > SandBar > Assembly Version: 1.0.6.0 > Win32 Version: 1.0.6.0 > CodeBase: file:///C:/Program%20Files/Metes/MK%20Demo/SandBar.DLL > ---------------------------------------- > CrystalDecisions.Windows.Forms > Assembly Version: 9.1.3300.0 > Win32 Version: 9.1.9370.0 > CodeBase: > file:///c:/windows/assembly/gac/crystaldecisions.windows.forms/9.1.3300 .0__692fbea5521e1304/crystaldecisions.windows.forms.dll > ---------------------------------------- > CrystalDecisions.Shared > Assembly Version: 9.1.3300.0 > Win32 Version: 9.1.9360.0 > CodeBase: > file:///c:/windows/assembly/gac/crystaldecisions.shared/9.1.3300.0__692 fbea5521e1304/crystaldecisions.shared.dll > ---------------------------------------- > DataGridColumnsTrial > Assembly Version: 2.1.4.0 > Win32 Version: 2.1.4.0 > CodeBase: > file:///C:/Program%20Files/Metes/MK%20Demo/DataGridColumnsTrial.DLL > ---------------------------------------- > > ************** JIT Debugging ************** > To enable just in time (JIT) debugging, the config file for this > application or machine (machine.config) must have the > jitDebugging value set in the system.windows.forms section. > The application must also be compiled with debugging > enabled.
  9. found a solution, I had to install MDAC_TYPE.exe but is there a way to deploy everything in one setup... now I have first to install MDAC and then the setup.exe bootstrap application sample another problem is when I install the programm on another non-admin is that I get a security problem: Thr application attempted to perform an operation not allowed by the security policy. The operation required the securityException. System.security.securityexception: requested registry access is not allowed at microsoft.win32.registrykey.opensubkey(String name,boolean writable) at .... when I install it on my computer it works... but I'm loged in as admin. how can I give registry access to non admin users for my application?? greets koen
  10. I'm making an excutable of my project. it's teh first time I'm doing that. But several problems appear. first I tried the setup.exe bootstrap application sample, witch installs the .NET framework before installing the msi-file build with VS.NET The installation works fine but when I wanted to start my program the followin error came up: Process id=0x654(1620), Thread id=0x648(1608) I can't find anything usefull about this on google... so I tried something else, wrapper.exe example witch installs mdac... but also no success. I can't even install it... it sais there was an error while installing microsoft windows installer. Those anybody know a way to make a working setup that works on all windows versions and installs the dotnet framework and MDAC for data access I don't know if I need that... thx greets KD
  11. Thx alot... greets koen
  12. ellooow again I have written some code to move a file to a certain directory with file.move. It would be nice if you could see the copy file animation of windows. This is possible with the following API in older versions of vb but not in vb.net... Public Type SHFILEOPSTRUCT hWnd As Long wFunc As Long pFrom As String pTo As String fFlags As Integer fAnyOperationsAborted As Long hNameMappings As Long lpszProgressTitle As Long ' only used if FOF_SIMPLEPROGRESS End Type Public Declare Function SHFileOperation Lib "shell32.dll" Alias "SHFileOperationA" (lpFileOp As SHFILEOPSTRUCT) As Long Public Const FO_COPY = &H2 Public Const FO_DELETE = &H3 Public Const FO_MOVE = &H1 Public Const FO_RENAME = &H4 Public Const FOF_ALLOWUNDO = &H40 Public Const FOF_NOCONFIRMATION = &H10 ' No Confirmation Public Const FOF_NOCONFIRMMKDIR = &H200 Public Const FOF_SIMPLEPROGRESS = &H100 Is there an alternative for this animation in vb.net? I know that in .net the long must be changed in integer because of the 32-bit range but that doesn't help me any further thx greets koen
  13. Thx Thx dudes...
  14. I'm trying to make my own WINDOWS explorer... to view the file structure in some kind of treeview.
  15. Ellooow, I was looking how it was possible to open windows explorere in vb.net, I find something like shell megapack.net from sky software but then you constantly get an anoying pop-up because it's a trial... is there an other way to to view your directories... maybe opening it with some kind of API thx greets koen
  16. koen

    axwebbrowser

    axwebbrowser printing I have got my axwebbrowser but does anybody have some information how I can print the pages shown in the webbrowser? I have this but how can I pass thruw that he has to print what is represented in the webbrowser? Dim printFile As New PrintDialog() Dim pd As New Printing.PrintDocument() printFile.Document = pd If printFile.ShowDialog() = DialogResult.OK Then pd.Print() 'zo komt er een leeg blad uit End If greets koen
  17. thx for the reply... but I think I'm going for the browser Then I can realy open it in my application. thx koen
  18. ellooow Does anybody have some experience with opnening word documents in vb.net I know how I can open a word document but is it also possible to open it in your vb application. When you open it normally your word doc is above your application... I did some research myself... Can I use axwebbrowser t open a word document in? greets koen
  19. Yes it's possible... for instance: --when clicked on a button-- make an sql statemant strSQL = "select * from table where ordernumber = " & cstr(textbox.text) fill a dataset with that sql statement fill your datagrid with that dataset when you have 2 tables maybe you can use databinding... greets koen
  20. I found the error... the above code works greets KD
  21. dtgResultaat is the datagrid and 0 = first column dtgResultaat.Item(dtgResultaat.CurrentRowIndex(), 0) I think that is what you mean... greets koen
  22. is it possible to create a .chm file with visual studio .net or do I have to use a program like winhelp for it? because when I installed winhelp, it said theire allready was a better version of the program installed on my computer. greets koen
  23. thx dudes finally it works... greets KD
  24. I have made my reports with the report expert, I have a acces database so with the wizard expert I just went to my mdb file with the tab page database files but the problem is that when I put the application on another pc the folder structure isn't the same so it doesn't find the database... I used application.path in my vb application but how can I solve this in my reports? greets koen
×
×
  • Create New...