Software Development Network Logo
  • Smart Devicet
  • Game Technologies
  • SharePoint Products
  • Microsoft ISV
  • Windows Forms
  • Visual Studio
  • IE Development
  • Visual C#
  • Visual FoxPro
  • .NET Development
  • Visual C++
  • SQL Server
  • Audio and Video
  • VS Team System
  • Windows Vista

Software Development Network >> George Hara's Q&A profile

George Hara

Member List

Edward Pereira
shyamkumar
Piroc
km_srd
M.D.A
imcgraw
Whoisit
Vinayak Kamat
Kashif Haqqani
Jumperboy
wannabe_2
avenger_219
RobDever
SYED HANIF SH
Gary Winey
R.Tutus
Ceds
burgoofj
shakalakanow
Jon Stroh
Only Title

George Hara's Q&A profile

  • .NET Development WMI wireless signal strength

    Hi, I have searched everywhere for the answer to this question with no luck. Question: I have 4 Access Points on my network, and I want to get the signal strength of device X which is connected to my network. However, I need to get the signal strength of device X in relation to each Access Point. Can this be done with WMI I have managed to execute a WMI query which gives me the signal strength of connected APs, but this does not seem to give me the relationship between an AP and a device on the network. If WMI is the wrong solution, then how can this be achieved Thanks Heaps, Patrick. I too am interested in this. Perhaps it could be achived using wmic and grabbing the output from the command line (a bit like usi ...Show All

  • Visual Basic How do I make this flicker-free?

    The following code draws line numbers next to a RichtextBox control I have on my form. However, the code causes the LineNumbers picture box to flicker rapidly while being drawn, I was wondering if anyone could help Private Sub DrawRichTextBoxLineNumbers( ByRef g As Graphics) 'Calculate font heigth as the difference in Y coordinate 'between line 2 and line 1 'Note that the RichTextBox text must have at least two lines. ' So the initial Text property of the RichTextBox ' should not be an empty string. It could be something ' like vbcrlf & vbcrlf & vbcrlf With RichTextBox1 Dim font_height As Single font_height = .GetPositionFromCharIndex(.GetFirstCharIndexFromLine(2)).Y _ - ...Show All

  • Windows Forms NumericUpDown, Binding and the tab key

    I'm using .NET Framework 2, Visual Studio 2005, and Windows Vista RC1. When you type a new value in the NumericUpDown control, and then you leave the NumericUpDown by clicking another control, the NumericUpDown fires events in this order: 1. ValueChanged 2. Validating But when leaving the NumericUpDown by pressing the TAB key, events are fired backwards: 1. Validating 2. ValueChanged And with this, a Binding to the Value property, if it has DataSourceUpdateMode=OnValidation, does never update the datasource. The Binding object handles the Validating event of the control, and, if its value has changed (if the control has raised ValueChanged before), the binding writes the value to the datasource. But if ValueCha ...Show All

  • Windows Live Developer Forums apperaring offline while i am online...

    I have tryied everything and still i have the same problem...I cant find something to msn messenger support so i write here... The only way to work is to install Msn Messenger 7.5! Then everything is ok...I only have problem with Messenger live... I am online but all my contacts see me offline...Status is online everything is like it supposed to be... What can i do Plz someone help me :(:( I am logged in with latest messenger live! I went to the menu path u told me and advanced settings are all clear...There is nothing written in boxes...     So what do i do now ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Microsoft.Xna.Framework.Storage Namespace Classes

    Are the StorageContainer and StorageDevice classes not implemented fully or at all The methods for the classes don't seem to be static and there's no constructor defined to create and instance of either class I've not tested this at all but a quick look suggests that you use those classes something like this: StorageDevice sd = StorageDevice.ShowStorageDeviceGuide(PlayerIndex.Any); StorageContainer sc = sd.OpenContainer("SpacePigs"); Cheers, Leaf. ...Show All

  • Windows Forms Connecting to a Web Service

    Our Client Application needs to connect to a webservice, which is in the same solution, different project though. I can do it perfectly on my box, and it works, however, it's defauled to "localhost". All of our customers have their own sub-domain for their site. Example: Customer1.OurSite.net Customer2.OurSite.Net ... Customer532.ourSite.net And so on. So... When they first run this application, I ask them to input their website address, which I save to an XML file. This way that client will be set to lock-onto that website. How do I tell my application to point the webservice to Customer1.ourSite.Net instead of localhost Theoretically I want to change the settings in that XML file 10 times in 10 minutes and have the application hit each ...Show All

  • .NET Development Aggravating WinFX Runtime Components 3.0 - Beta 2 uninstall problems...

    I'm using the uninstall tool provided by microsoft to remove previous versions of winfx. It tells me i'm missing 2 files to complete the uninstallation. indigo.msi and vs_setup.exe. I will admit b4 i knew about this tool, i just went in to the add/remove programs and started uninstalling so thats probably when the needed files were removed. My question is how to i get these files back. What do i need to install to get them back. I tried reinstalling WinFX Runtime Components 3.0 but still no avial. Any help is much appreciated. Brian can you please try this tool to uninstall .NET 3.0 http://www.microsoft.com/downloads/details.aspx familyid=AAE7FC63-D405-4E13-909F-E85AA9E66146&displaylang=e ...Show All

  • Visual C++ Strange 'new' behavior

    Consider the following code: int** a = (int**)new int[][2]; // compiles ok int** b = (int**)new int[]; // compiles ok int** c = (int**)new int[2][]; // generates C2087 If I'm interpreting CPP2003 correctly, none of these are valid, as the expression inside the []'s is supposed to be a constant integral expression, which I doubt the empty expression is. In any case, why do the first 2 compile but not the 3rd If you have a chain of []'s, they're supposed to look like [expr][expr]...[expr][pos-const]. Your explanation discusses how arrays are accessed, and I agree with you on how the array access is done with pointer arithmetic. Your explanation also does make sense as to why #3 can't possibly be implemented. ...Show All

  • Windows Forms switch (listBox1.SelectedItem.ToString()) {} & video lesson #5

    I entered this coding as instructed, ran the program and did not select an item so the program had an unhandled exception and hung! System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." Source="lesson05" StackTrace: at lesson05.Form1.button1_Click(Object sender, EventArgs e) in C:\Documents and Settings\DOSrelic\Local Settings\Application Data\Temporary Projects\lesson05\Form1.cs:line 51 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) a ...Show All

  • Smart Device Development Compact Framework 2.0 Install Problems

    I have an iPAQ 2795 with Windows Mobile 5.0. ActiveSync has never worked for me, that is a separate issue. For this reason I install all programs on it by first obtaining a .CAB. I put this .cab into a .zip and post it to my local website. From there I use pocked ie to download. I exctract this zip on my mobile device with functionality built into the Resco File Explorer. I have verified that Resco is extracting files without issue from a .zip. With the .cab file on the mobile device I simply double click and the install starts. Everytime I do this I see the following message: "Installation of CF.cab was unsuccessful". CF.cab is file "NETCFv2.wce5.x86.cab" simply renamed. Using cgacutil.exe I can see that Comp ...Show All

  • Visual Studio Express Editions Hello World program disappears immediately

    After many unforseen errors :-\, I finally got the simple Hello World program to build and debug. However, after it "ran", it closed immediately without even giving me enough time to see the text. The window just popped up and closed. Can someone help me out By the way, here's the code I'm using for it: #include <iostream> int main() { std::cout << "Hello World!" << std::endl; return 0; } // END main() Try: #include <iostream> int main() { std::cout << "Hello World!" << std::endl; system("PAUSE"); return 0; } // END main() ...Show All

  • Software Development for Windows Vista mic boost

    i cannot find anywhere to enable mic boost in vista, im running soundmax integrated sound off of a asus p5vdc-x motherboard. Even when i open up the driver control panel for the sound there is not option to enable it, when i opened this in xp there would be an option HELP!!! sorry guys i don't speak english very well. i found this to boost your mic. i don't have the same motherboard (msi p965 neo) but i will say to you what i do to boost my mic. go to control panel, sound, select the second option (record), clic on your mic and properties, select the second option (level), and you have microphone ampli or amplified, something like this, put this option to +30.0 dB and your mic will be amplifi ...Show All

  • SQL Server [HELP!] How do you make the database path relative in the connection string?

    Hi everyone, I am working on a Hospital Information System project with a team of 6.Each one of us builds or modifies a part of the system and shares the project over a common repository. The problem here is that we use the absolute path of the database in our connection string. Although the directory structure of our project is the same for each member, since the main project folder itself is stored in different locations on each person's computer (for example, one may have it stored in c:\My Documents and the other in d:\ My Documents), we are forced to modify the connection string manually each time someone else from the team updates the repository with the database. How do we make the path of the database relative so that we don't h ...Show All

  • Architecture How to create Logic Layers ?

    Hello to all, I need some help on How to create Business Logic Layers and Data Access Layers. I am working on a Poject which is little bit complex. Many tables are realeted with each other and affected simultinoulsy. Can I get some Samples or Articlas or Tutorials that can help me in designing my Layers ... ( I am vary much confused with all this stuff, so I need some good material to learn from) Thanking U Hi Mistry It seems to me that your question is a little opened in the sense that there are several mechanisms but they apply to given contexts. I can suggest you an article which talks about how new tools help you in accessing data from logical layers in a very effective manner, bu ...Show All

  • SQL Server SQL SERVER 2005 Error handler

    I AM TRY TO CATCH AN ERROR FROM A QUERY AND I WANT NOT RETURN THE COLUMN DESCRIPTION OF THE SYSMESSSAGES BECAUSE I WANT TO CATCH THE NEW FUNCTIONALITY OF THE SQL SERVER 2005 ABOUT THE FUNCTIONS THAT IT HAS INCORPORATED I THINK INSIDE THE CLR AND INSIDE TOO THE DATABASE MACHINE BUT... I LOOK FOR MANY LESSONS I DON'T KNOW WHAT I NEED TO SETTLE ON MY MACHINE O MAKE SOME CHANGES OF CONFIGURATION TO HAS SUCCESS ON THE FOLLOWING QUERY: CREATE PROCEDURE [dbo] . [uspPrintError] AS BEGIN SET NOCOUNT ON ; -- Print error information. PRINT 'Error ' + CONVERT ( varchar ( 50 ), ERROR_NUMBER ()) + ', Severity ' + CONVERT ( varchar ( 5 ), ERROR_SEVERITY ()) + ', State ' + CONVERT ( varchar ...Show All

©2008 Software Development Network