I made a bluring tool of some sort and you basicly drag an area of yuor picture and it blurs that certain selected elipsis.. the problem is THis only works on Winsows 7 Im trying to understand the diffrence but I can't. The PC uses the same graphic card same hardware just a diffrent OS but it wont do that Code. Anyways here is how I blur
Private m_ActiveControl As Point Private m_CurrentPoint As Point Private ileft As Integer
I have written a console app in <acronym title="Visual Basic">vb</acronym> .net 2003 to capture audio data (albeit not for an audio application) using the WinMM API. This works well in XP and also on my own Vista PC. However when others try to use in on Vista or Win7 it stops working after about 10 - 30 seconds (so it manages to initiate recording from the default input device but eventually stops). The only error given is "Program has stopped working". I am wondering if this is related to the way I recycle the input buffers?
my goal is to control the incoming and outgoing packets to a game server, to alert when a game round finishes the main code is this:
Private Buffer(65535) As Byte Private RawSocket As Socket Public Event PacketReceived(ByVal PacketBuffer() As Byte)
[code]....
this code works perfectly with XP (you can read both incoming and outgoing packets to the game server)... with Vista the same code displays ONLY the incoming packets....
We are creating a Chat Application for our chatnetwork, we originally made it in VB6 works like a beauty and converting to VB.NET At the moment, it joins the channel fine, nothing wrong with this displays everything it needs to however we are in the process of showing emoticons.While we were on XP in debug mode and release mode, the emoticons showed... Once we moved the compiled version over to Vista Home and Ulitmate the emoticons would not show, we have looked and looked all over google and have not come to a conclusion, today we even moved the whole Project folder over to Vista, ran it in debug mode, and the images still wouldn't show in the RTB. Works fine in XP but not Vista? Edit/Delete Message
how to get my vb6 exe to run in any win7 or Vista?The error I'm getting is: Component comdlg32.ocx or one of it's components is not correctly registered or missing. I've tried using the P&D Wizard to specifiy loading it into the SysWOW64 folder but I'm not sure if I'm doing this correctly. I use the P&D Wizard then load everything into Inno for delivery but my customers who now have Win7 or Vista can't use my product.
We are creating a Chat Application for our chatnetwork, we originally made it in VB6 works like a beauty and converting to VB.NET At the moment, it joins the channel fine, nothing wrong with this displays everything it needs to however we are in the process of showing emoticons.While we were on XP in debug mode and release mode, the emoticons showed.Once we moved the compiled version over to Vista Home and Ulitmate the emoticons would not show, we have looked and looked all over google and have not come to a conclusion, today we even moved the whole Project folder over to Vista, ran it in debug mode, and the images still wouldn't show in the RTB. Works fine in XP but not Vista?
i compile my form with the below code when i run it on vista work fine without any problem but when i try to run in on XP cant run... that happened with any XP machine.[code]when i run my exe to other Vista machines work fine... but on xp NO.
When trying to get this program to filter appointments based on which doctor is selected, the code works fine with a sample database. When i try to use the database I have to, it doesn't show any appointments.
I have made a little Hotkeys utility for Poker Tables. I hook the keys and, depending from the key, I simulate a mouse click over the related table button.The Sub that make the job is this:
Private Sub DoMouse(ByVal flags As NativeMethods.MOUSEEVENTF, ByVal Wheel As Integer) 'wheel = +-120 if wheel event, 0 in other cases 'added hoping to improve the code, but nothing changes, Hwnd is a global variable
"Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated".I have this message showing up that references this code in the keyup event:[code]I am just testing the trapping of keys right now. The code still works but I am uncomfortable with an unresolved warning.
I have a customer who is using a VB Script to create one swbemrefresher object which works normally on Win XP and Win2003 platform, but on Windows Vista platform prompts with "invalid class" error...
This code was working consistently, but now...This code works on the first pass.Then second pass it just hangs on Code:Dim tcpClient As TcpClient = tcpListener.AcceptTcpClient() for about 2 minutesThen the code will fork for another pass, then fail.....
I need assistance converting the following C# code which works into VB code. The code detects when a specific type of USB device is connected and disconnected and writes the status to a status strip:
I don't think the problem lies within the codes but..The last thing I did was use datediff.. and show the result on a label.. and when I wasn't satisfied with the result I changed a few lines, and I noticed it was still the same whenever I run it.I've tried changing/deleting the codes to my forms but whenever I run the program, it still works. I even tried deleting the form and it still works.
Aim to achieve :I want to change the SourceData of the Pivot table.I want to change it from 'C:[file.xlsx]SheetName'!RangeName to 'SheetName'!RangeName
I have the following implementation :
[Code]...
At the time of error str has value 'SheetName'!RangeName (This is fine.. )
I am also getting a message box before the exception :
Can not open the source file C:file.xlsx (Isn't that obvious because its in use)
When trying to get this program to filter appointments based on which doctor is selected,the code works fine with a sample database. When I try to use the database I have to, it doesn't show any appointments.
I'm attempting to create an app which uses a vendor-supplied Web Service. They provided sample code to show how to work with the Web Service, but all the code is in C#.. not a huge deal.I opened one of their demo projects and it compiles fine, works perfectly.
So, I open up MY project, drop in the converted code and... wait for it... ERROR!Here is the working C# code that IS working:
C# private void DoSomethingWithTheAlarm(G4T.enAlarmAction action) { XML_AlarmClearRequest[] ClearRequest = new XML_AlarmClearRequest[lstAlarms.SelectedItems.Count]; int idx = 0; foreach (ListViewItem lvItem in lstAlarms.SelectedItems) { ClearRequest[idx] = new XML_AlarmClearRequest();
I have .net code that works on IE8 but wont work on google chrome or firefox. i have put this code for the user to press Enter instead of clicking the mouse everytime. [Code]. How can i make this work on different browsers?
It is a word scrambler in which the user must guess the word that is scrambled. It is not completed obviously but the code only works with one form. As soon as I include other forms for title screens and the likes, the code doesn't work at all.Here it is (This is the multiform version):
Imports System.Text Public Class Form3 Public word As New List(Of String)
I have a program that uses the mouse to find window captions. I made a test program that just does that and it works fine. I copied and pasted the code into my other program and it doesn't work. The mouse position changes, but it will only get the caption of a window if it is at the top of the screen. It seems that only the Mouse.X position is changing, but I put the MousePosition.X and Y in a label and they are both changing. Can anyone explain why this is happening?
Private Sub DoMouse(ByVal flags As NativeMethods.MOUSEEVENTF, ByVal Wheel As Integer) 'wheel = +-120 if wheel event, 0 in other cases 'added hoping to improve the code, but nothing changes, Hwnd is a global variable
I have some code below that works mostly in vb.net but when it gets to ExtHubPort and after it doesnt work i think i might have incorrect formatting of code somewhere or a simple error because if I get it the same sounds as the vbscript except when mouse device is plugged in it gives me this error in device manager: "device could not start error 10". Here is the code but to plainly put it the code just adds an emulated external usb hub to the system's hub and then usb device to that hub:
Option Explicit On Imports System Imports Microsoft.Dsf Module Test_Emulator
[Code]...
The msgbox's mark important areas that will help if you wish to debug this code. I have a codeplex page in which the project has the dlls for both 32-bit and 64-bit OS's but if you have the dsf runtime you can manually get them from the GAC (c:windowsassembly version and yes im sure because thats where i found them) and just paste into visual studios public assmeblies folder and it
Puzzled why the same Sub Page_Load code will not work if used on the codebehind file. Current code works fine if used directly on the aspx page,but as soon as i try placing the same code in a codebehind file the images will not show at all. Will post code sample if requested.. The way the code is setup thumbnail page opens a new page that displays larger image with watermark. the watermark page only contains code that creates the watermark for the larger image page.
I have a simple unit test which tests that a validation function picks up a specific validation issue. The validation item returns a simple object with Item & Message properties. I've written a unit test for this function but this always fails even though I know the function works as expected.
<TestMethod()> Public Sub ContractNote_ValidateForManualInputTest_TradeOrderValueComparison() 'Can't get this test to work even though validation works! Dim CN As ContractNote = New ContractNote Dim Trade As New TradeOrder
[code].....
I've implemented IComparable on ValidationItem (I have a separate unit test which confirms this works). Am I Using CollectionAssert correctly?