JamiePe's Q&A profile
Visual Basic ToolTips on a DataGridView Control ...
On my DataGridView control the ToolTips are displayed directly under the MousePointer (the default arrow). Why is this, and how can I set to position of the ToolTip so the top left corner is not covered by the MousePointer Thanks, ...Show All
Windows Forms ErrorProvider's validation events gets lost between tabControls.
First off I have used the ErrorProvider before and understand the concepts and have placed them successfully on other dialogs. But I have run into an issue where the validation event goes missing...I can recreate the scenario here, it involves two tab controls, a button and a textbox: Working Scenario Create a Winform application. Add an errorprovider component. Add a tab control (#1) to the form. To the winform: Add a textbox which will handle the validating event. Override the validating event of the textbox to show an error message. To the tabpage 1: Add a button which will signal the validation event. Add the SetIcon alignment to the w ...Show All
Windows Forms book needed
Hi, does any body know a good book about using windows api with visualbasic.net.... ...Show All
Smart Device Development how to draw a persistent image?
Hi, I have a PDA running under Windows Mobile 5 and I'm working with Visual Studio 2005. I want to draw an image anywhere on the screen, ie. even outside of the application's window, in a way that makes it 'persistent' (unless I want otherwise). Let me explain. Normally when a window pops up (presumably external to my application) at the position of the image, the window covers the image so that it disappears. But I want to prevent that from happening and make sure that the image will always stay on top whatever happens. Can someone tell me how to do that Thanks. You can do something similar with kiosk mode ...Show All
.NET Development ThreadPooling in c#
I have to upload 70 files using ThreadPooling and code i have used is as below.I have set the maxthread size as 10.But it is uploading only 8 files. Please tell me how to make it work.Also if u can please give a sample code.Help will be greatly appreciated. WaitCallback callBack = new WaitCallback ( UploadFileEx0 ); for ( int i = 0 ; i < 70 ; i ++) { if ( true == isThreadAvailable ( true )) { ThreadPool . QueueUserWorkItem ( callBack , GetFileName ( this . listView1 . Items [ i ]. ToString ())); } else { MessageBox . Show ( "Worker thread not available &qu ...Show All
SQL Server How to Reuse functions in script tasks ?
Hello I have some common functions that i use in several script tasks. How du i store a function globaly so that i can use it from different projects and still only have to edit it one place I think one way is to create a dll of the function and import in each of your script tasks. To Import the dll into each of the script you need to place the dll into <root>\Windows\Microsoft .Net\Framework\<Latest Version> and gac it. I think this will help... Thanks Dharmbir ...Show All
Visual Studio Tools for Office How to control the cell's datatype of Excel(Using Spreadsheet Export Excel)
I have some data must Export to Excel. but i do not which property of spreadsheet can control the datatype. some char data change to numeric data as '000124886'(database) --> 124886 or ' 130564011400001 ' --> 1.30564E+14 How can i control some cell only using text type I find a method myself! add a char -- "'" to the string's head. Excel will change the number to text Automatic ...Show All
Visual Studio Express Editions Help: Randamize
hi, i need help in this, i have an array composed of 9 values, and i have a button , i want when i click on that button to re arrange the values on the array , i don't want to arrange them in order , but all what i want is that every value in the array to change its index randomly can anyone help me plz This could mean one of two things Either a one dimensional array where you change the items Or a two dimensional array.... the first containing the items and the second being an array of indexes which are changed. In this array you simply choose a number between 0 and 8 for each index. You al ...Show All
SQL Server SSIS package doesn't execute as a job step
I have this SSIS package which just doesn't seem to run when executing as a sql job and I keep getting this error: " The command line parameters are invalid. The step failed. " I read some of the comments in forums and they were suggesting to verify the command line for the sql job since there is known bug in the command line for sql job. But that didn't seem to resolve it and the reason could be one of the variable values that I am trying to set. In this package one of the variables that I am trying to set is the connection string and my command line looks like this dtexec /SQL "\TestPkg" /SERVER [SVRNAME ...Show All
Visual FoxPro Vfp9 page footer report
Vfp9 Report paper size: US Letter Save printer data environment=not checked Print Area=Whole page Width=8.500 inches Left margin=0.000 inches Page footer Height=1.040 inches I've create a 9 detail band report..works just fine..but. Why my info can't be printed until the page footer report ..there's about 4 inches of "blank spaces" between my last detail band and the page footer in every page..and some info "fits" in that 4 inches of "blank spaces" Thank's in advance I realize you posted a while ago, but since Ken drudged this to the top, I have a few questions. Are you referring to a VFP 9 banded report or nin ...Show All
Smart Device Development cannot connected PPC with WebServices! Plz help me T^T
I'm working wth MS Windows SP2 and C#.NET and try to create application with run on PPC. My application call WebServices from desktop(server) my application on PPC are working properly when I use Active-Sync but if I use Wi-Fi, I can't connect between PC and PPC. My application show exception like this "Unable to connect to remote server". Please! I want some help, advice me..... T^T WebService is just a normal web site, you can use IE to connect to it and even execute methods on WS. Just type your web service URL in the IE and see if you can connect. If you can, the problem is in the application. If you can't - network does ...Show All
Visual C++ Help with compiler error
After discovering the code I would need to write my version of IPCONFIG from MSDN I quickly realized that when I tried to compile what I had written mixed with what I am using from open source that my program wasn't compiling right. I have looked over the code several time, but I am unable to come up with a solution. I figured instead of scrapping the idea I would run it by you guys to see if you have any insight or ideas for my code. Thanks ---------------------------------------------- [c++]#include <stdio.h> #include <windows.h> #include <stdlib.h> #include <Iphlpapi.h> int main() { PIP_ADAPTER_INFO pAdapterInfo ...Show All
Software Development for Windows Vista DirectShow - WinFX
Hi, I'm relatively new to directshow. I'm just wondering if anyone has used directshow in a WinFX application yet. I managed to get everything working under windows forms but I can't seem to work out how I get a handle to a control in WinFX windows. <Control>.handle is gone it seems. Am I missing something I'm using c# and cutting out some of the work by using direstshow.net. Any help would be great. Thanks Shane How is that DirectShowNet working out for you As for the handle, I don't use WinFX yet, so I can't really say. However, a google turned up this ( http://blogs.msdn.com/adam%5Fnathan/ ) ...Show All
Visual C# requiring a override method to call the overridden method
I'm trying to fiqure out how to require a override method to call the method that it overrode. for example: public class test { public test() { } public virtual void whatever() { // do something here you don't want to be done even though the class gets overridden // I know its not the way it should be done but I inherited this and have to get it to work } } public class test2 : test { public override void whatever() { // do stuff here } } // caller test2 t = new test2(); t.whatever(); // I want to get to the overriden method to the c ...Show All
SQL Server PLEASE HELP ME WITH ANN PROBLEM
Hi Guys, I kindly ask for your help with regards to my DM project. I am working on a project that is related to the field of agriculture and that has as an objective to find the "optimal values" of the operating conditions that affect the outcome (the amount of meat produced i.e. the weight) of an animal production (chicken broilers in my case). To do so, I have to use historical data of previous productions as my training dataset. The length a production cycle is typically around 44 days. For each production, a data acquisition system stores the real-time and historical data of hundreds of parameters. These parameter ...Show All
