Jump to content
Xtreme .Net Talk

nbrege

Avatar/Signature
  • Posts

    34
  • Joined

  • Last visited

nbrege's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. nbrege

    Edit PDF?

    How can I edit/alter a PDF file through VB? Specifically, I want to search through a PDF file for some specific text & replace it with other text. What do I need in order to accomplish this? Acrobat SDK? 3rd party control? Thanks for any help or recommendations...
  2. Is there a way to find all the users who are currently logged on to our Windows network? I searched through the past posts but couldn't find anything helpful. Thanks for any help...
  3. You have a "win32" in your .StartInfo line that's not in your command line. Could that be the problem? Also, is the filename "dbeng.exe" or "dbeng8.exe"?
  4. Is it possible to create a simple terminal emulator program similar to HyperTerminal using VB2005 Express? Could someone point me in the right direction or to some sample code? Thanks...
  5. Is there a way to close an error window of another application? I am using proc.start & proc.close to programatically start & close an application, but when my VB app executes the .close method, the other app does close, but it gives an error. It is the common error window where you have the option to send or not send the error report to Microsoft. Is there a way I can close that error window programatically? Thanks...
  6. This seems to be the easiest way so far. It lets you read all the attributes of a shortcut as well as change them or create a new shortcut from scratch. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim WshShell As Object, Shortcut As Object WshShell = CreateObject("WScript.Shell") Shortcut = WshShell.CreateShortcut("c:\\Shortcut Test.lnk") MessageBox.Show(Shortcut.targetpath) End Sub This code should run as-is...
  7. I was just wondering the same thing. Also, is it possible to change the target of a shortcut or create a new shortcut? I hope someone can answer this...
  8. The files are just text files that are created with notepad. How do I determine which events are being fired?
  9. I have set up a FileSystemWatcher component in my program to watch a certain folder for new files. It is working fine except that it is firing 2 or 3 times whenever a new file is created in the watched folder, which is causing problems elsewhere in my program. Is there a way in which I can set the FileSystemWatcher component to fire only once for each new file that gets created? I have tried changing the .NotifyFilter property to the various options, but I still get the multiple events firing. Thanks for any help...
  10. Here is another way: Dim t1 As Integer = My.Computer.Clock.TickCount executeROApproval() Dim elapsedtime As Integer = My.Computer.Clock.TickCount - t1
  11. If you're using VB2005 you can use : My.Computer.FileSystem.GetDirectories("C:\\Temp",FileIO.SearchOption.SearchAllSubDirectories, "*.pdf")
  12. I have been assigned the task of finding a way to make our VB apps run-able from our network. From everything I've read about doing this, it sounds like I have to run the .net framework wizard & change the setting for the .exe file to be fully trusted. I don't actually have the wizard on my machine to try it & our network admin is reluctant to try it without knowing exactly what to do. So I have several questions on this: 1) Can someone walk me through the exact steps in the wizard to configure a VB app to run from a network share location? 2) Will every machine need to be configured individually for each app that needs to be run? We have 100+ users that will need to run up to maybe 5-10 different apps. That seems like it will be a lot of work. Is there an better way? 3) Can we configure a folder to be fully trusted, so that any app in that folder will be run-able? This seems like the easiest solution, if it is possible. 4) We also have about 50 users running thin clients on a citrix server. Will they be able to run our VB apps? If so, how do we do this? Any help or advice will be greatly appreciated. Thanks...
  13. How can I print a line of text on an angle ... say at a 45 or 90 degree angle or any angle for that matter? Thanks...
  14. So, just for the heck of it, how would I do this using regex?
  15. How do I use IndexOf? I'm not familiar with it. I'm currently using .Contains twice, but I thought maybe a regex would be better.
×
×
  • Create New...