Broadcast CTRL+C To Program Without Using Complicated Code (accessing Windows API) To Do It?
Jan 1, 2010Suppose I want to broadcast CTRL+C to my program without using complicated code (accessing Windows API) to do it.
View 3 RepliesSuppose I want to broadcast CTRL+C to my program without using complicated code (accessing Windows API) to do it.
View 3 RepliesI have a program I made in VB 6 which has probably hundreds of thousands of lines of code.
Is it complicated to convert it to VB.Net or is it not worth it?
My main problem is that VB 6 doesn't work in Win 7 so I need to use the XP emulator each time I make an update.
I am a total bginner to vb.net programming. I am trying to make a simple program that allows the user to
1.change desktop background
2.Allows the user to select a boot image listed in the form
3.alows the user to enable disable the task manager,registry editor and control pannel.Replace Windows Boot image (Picture source is a picture box in form)
4.Change XP Start Button Text
5.Disable/Enable Windows Keys
so this is how far I got;
Imports Microsoft.Win32
Public Class Form1
Implements IDisposable
[code]....
This semester I have task to build an internet kiosk software. But, I face difficulty to start it. I don't know how to disable and enable windows key, ctrl+alt+del key, and the alt+tab key. Is there anyone know how to do that??? I'm using vb.net 2008.
View 14 RepliesHow to disable Ctrl-Alt-Del in Windows 7 when the application loads? I'm looking for an example that disables Ctrl+Alt+Del when the app starts, and enables the combination again once it finishes.I found an example that disables the combination on Windows XP, however it doesn't seem to work on Windows 7. Why? Is it not allowed on Windows 7 to disable Ctrl-Alt-Del?Also, I'd like to know how to run an application as admin on Windows 7?
View 3 RepliesI am using a 3rd part dll file (SolidWorks EModelView.dll, COM file) that has a version of 9.2.0.128. When I add it to the resources for the application, however, the AxInteropEModelView.DLL and InteropEModelView.DLL references show a version of 9.0.0.0. When I install the application on a client machine and try to run it, the application says it cannot find AxInteropEModelView.DLL version 9.2.0.128!
View 5 Replieshow do i call a routine when the user press CTRL+Z or ctrl+somthing?
View 10 Replieshow can i stop ctrl alt delete f4 windows task manager in my application
View 6 RepliesVS 2008 Built in key calls (Shift - Ctrl - Alt) are broken on Windows 7 Bit
View 4 RepliesI am using a masked edit text box in my windows application that was developed by using vb.net. In normal text boxes (CTRL+Z- to revert back to original value) is working fine. But In case of Masked Edit Textboxes its not working fine. This ctrl+Z should provide the functionality as same as normal textbox.
View 1 Repliesusing the getasynckeystate for ctrl + c and ctrl+ v or copy and paste..How will I do that in this code? For example when i type in notepad it should also do in the richtextbox with this code it work but when it comes to copy and paste word in notepad it does not works and the richtextbox is empty?
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
For i = 1 To 255
result = 0
result = GetAsyncKeyState(i)
[code]....
I am using visual studio 2005.If I try to do wordwrap using Key combination (ctrl+R, ctrl+R), I get following messege:"The Key combination (ctrl+R, ctrl+R) is bound to command (&Rename...) which is not currently available.
View 3 RepliesI am using vb2005 to send keystroke to stock application software so i need to send Ctrl+C to an open window in the stock software then send Ctl+V to Excel in a specified worksheet and cell
View 2 Replieswhat is the code to make windows open a program at the startup?
View 4 RepliesWhat i want to happen is for the dictionary keys and items to be overwritten each time it is executed, as the data needs to be up to date.
View 3 RepliesI used this code to make my program to startup with windows it should add a registry entry:
Dim key As Microsoft.Win32.RegistryKey
key = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("SOFTWAREMicrosoftWindowsCurrentVersionRun", True)
key.SetValue("MyApp", Application.ExecutablePath)
The problem is that it underline KEY and say declaration expected but shouldn't dim do the job for the declaration.
I am making a program that shutsdown your pc if you press ctrl+s. I have tried looking at some keylogger codes and changing them slightly but i can't find anything that works. I need it to be minimized but still checking for ctrl+s.
View 6 RepliesI noticed that ctrl-c and ctrl-v are not working in my project. I am using VB2008 and have an MDI project. The child forms have textboxes but I cannot use the shortcut.
View 3 RepliesI had a scenario to generate and validate excel cell value with date cell through VB.NET, everything works fine when I type a value in the cell, but when I do a copy paste in the cell any string value it accepts and never validates.[code]...
View 1 RepliesIs somebody having problems accessing a sql database in windows 7 64 bit?
View 5 RepliesI'm trying to find a tidy way to set a string using an if else statement according to a numeric value. The only complication is that there is a possibility that this value may contain text. So it needs to handle that situation too.
So this is the basic code:
If cint(QtyShop) > 0 Then
msg = "Stock found in this shop"
ElseIf cint(QtyAllShops) > 0 Then
[code]....
I have an ASP.NET (C# Code-behind) code. I need the very same functionality in one of my VB 6.0 program. As the code is too complex, I don't want to replicate it in VB once again.
Now, is there any way to access my .NET code from VB?
how to access an item like a button in a windows application?For example, I would like to create an application that would be able to look at notepad's file menu and "know" that file, edit, etc on the file menu are clickable objects and identify (expose) these objects to my application.
View 3 RepliesI have an interesting project that i would like to complete. I have a batch file used to ping our locations. Has 1 simple input but i dont understand how to get this to work in visual basic 2010.
View 19 RepliesPrivate Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
View 3 RepliesI am refining my VS2010 control renderers and I'm working on the TabControl at the moment. If you take a screenshot of the VS2010 IDE and zoom in on the background of the TabControl (where there are no tabs), then you might see that it consists of a pattern of dots with a slightly different color than the surrounding background. I am trying to draw these dots (yes, I'm going for perfection), but I cannot find a brush that allows me to do this.I am pretty sure I'd have to use a HatchBrush with the right HatchStyle, but I cannot find a matching style.Here is a screenshot showing:
1. The VS2010 background I'm trying to draw (higher contrast and brightness otherwise it's hardly visible),
2. The HatchStyle that is closest to this (DottedDiamond)
3. Why this HatchStyle is not correct (it's missing dots where the green dots are, which I photoshopped in).
Now of course I'm going to have to draw the pattern twice (there are two patterns, offset by 1 pixel, with a slightly different color), but the more pressing problem is the green dots seen in the third image. They aren't there with the DottedDiamond style, and no other style (I think I've tried them all, but hey I might have missed some..) produces a better output.
technique for calling VB.NET methods (C# methods as well) from VBA code?
View 2 RepliesDont even know how to word this, reason I'm having so much trouble finding out the answer in help.But, basicly I'm trying to get data from many different text boxes named similar from my form, example:[code]where i would count up in a for and next statment from like 1 to what ever.
View 17 RepliesI developed a small application which accesses a MS access database on my computer using VB.net. I developed the program on windows xp 32 bit. At the moment I am using windows 7 64 bit and the program simply will not run. I get a null reference exception when I try to do anything to the database. I have narrowed this down i THINK to the db provider. I was using Provider=Microsoft.Jet.OLEDB.4.0; and tried using Provider=Microsoft.ACE.OLEDB.12.0;. Neither seems to work. The path to my database is 100% correct. This is the error I am getting:
Null reference exception was unhandled.Object reference not set to an instance of an object.
Like I say the program runs fine on the windows xp machine. If it helps the access database file extension is mdb.
I have developed a windows application for my company. It is a multi user software and we are using sql 2008 as the database. The sql 2008 is installed in our company server. Within our LAN, there is no problem in accessing the software and its working pretty fine.
Now the problem is, some of the managers need to go out frequently(for business tour and all) and they need access to this software. The software is already installed in their laptops.Is there any way to access the database that is in our company server ???
We have few static IPs with us, is there any way i can use that here (Using NAT in the firewall or something)?