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

Software Development Network >> Joel Hensley's Q&A profile

Joel Hensley

Member List

eastside386
Peter Richard
Kevin O Donovan
igor_22
Robertis Tongbram
Tim Hunter
jcoco
leonardoreyes
lucerias
Jassim Rahma
thomas_woelfer
Grussellr
Faraz_Ahmed
r3n
Mr Dave
JUNJIE.HONG
Luc Pettett
Danny Tuppeny
chaza
Ayukawa
Only Title

Joel Hensley's Q&A profile

  • Windows Forms How to link between two textboxes in two different forms

    Hi all, I want to ask , how can the textbox in form1 changed according to the value entered in the textbox of form2. best regards... Hi, You can do in two ways as following. WAY1: For example you have two forms Form1 & Form2 and a textBox on each form then on Form2 make textbox static like this public static System.Windows.Forms. TextBox textBox1; And on Form1 textbox text event change write following code... Form2 .textBox1.Text = textBox1.Text; WAY2: You can also bind form2.textbox to form1.text box if accessible. private void Form1_Load( object sender, EventArgs e) { Form2 frm = new Form2 (); frm.Show(); textBox1.DataBindings.Add( "Text& ...Show All

  • Smart Device Development Customized datagrid column won't change colors of unseen rows when scrolled

    I was trying to change background colors of specific rows of my datagrid following this suggestion:   http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx My application is an inventory counting program and I want to change colors of a rows by their specific value of a column (in this specific case, "DateLastCounted" column).  It worked fine except one problem. My datagrid has vertical scroll bars. When I ran the code, the rows of first screen showed exactly what I intended but when I scrolled down, background colors were never changed in any rows which were supposed to be changed.  I walked through codes in debug mode and I couldn't find any problem: It means every line in the overridden 'Paint' methods w ...Show All

  • Visual Studio Express Editions Making Webrowser

    Hello everyone,i have a few questions about making an WebBrowser in Visual Basic 2005 Express. Question 1 : I'd like to make an progress bar,but wich codes do i need to add to let it work,and let it only be visible when the page is loading. Question 2: Wich Code is Required to open a new window by clicking on : New Window( in the ToolStrip Menu) I just want it to open a new window of my own browser.(see code) And wich one is needed to let ip open an File( See code 2) Private Sub NewWindowToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewWindowToolStripMenuItem.Click End Sub Code 2: Private Sub OpenToolStripMenuItem_Click( ByVal sender As System.O ...Show All

  • Visual Studio VS RC1 Installation Error "...unable to find Baseline data"

    Hello everyone, I just downloaded RC1, mounted image with Daemon-Tool and, when I tried to run setup, it gave me that meaningful "Setup was unable to find the Baseline data." error message. I checked X:\vs\Setup\baseline.dat and guess what, it's 60340 bytes long, but filled entirely with zeros. I'm not an expert, maybe it's intended to be like that, but I doubt that. So, is it virtual cd error or is it something wrong with an image Thanks in advance, Val I'm using a differente image tool (Magic Disk) and the problem stays the same. I have already the installation files on my hard disk and tried to perform the installation from there and got nothing. Please, help me!!! ...Show All

  • Windows Forms FormClosing Event

    Hi Every body I have a form and i don't want to let the user close it by ALT+F4 or Click on the close button. I know i should handle FormClosing event but how When i use FormClosingEventArgs and write this code : if ( e.CloseReason = CloseReason.UserClosing ) { e.Cancel = true; } I can't close it by calling the close Method. I just wanna close the form by writing codes and not allow the users to close it manually. like SplashScreen forms or something like that.Oh by the way is there any article about creating splashScreen forms in C# thank you. Sorry it was a writing mistake!! I've written it exactly like this i know it should work but when i call the close method it doesn't work!! No exception no Error ...Show All

  • Windows Search Technologies WDS 3.0 requires me to use cached mode in outlook 2003?

    Is there anyway around this 2.6 does not require this and it searches all of my main mailbox email just fine. I can enable the option but im scared that it will somehow slow down outlook or cause problems when I use outlook from home on the web interface. I saw an older thread that said there was a way to disable this in the registry but I do not have the registry folders listed in that post. Is there a way to disable this or is my only choice to go with cached mode I am using WinXP Pro SP2 with Outlook 2003 and MS Exchange Server. Just for reference, email search worked fine on my main mailbox using 2.6. Thanks! I dont have that path in my registry. I can get all the way to: HKEY_LOCAL_MACHINE\SOFTWARE ...Show All

  • SQL Server Report Services Configuration Error

    Hello, I am a complete Newbie with SQL Server 2005. Can someone help with this problem or at least point me in the right directio for diagnosing it correctly. I'm learning the Standard SQL product on Windows XP Pro, and everything on my computer has the latest updates (from Windows Updates). I had previously installed SQL Express, but removed all products associated with that according to steps listed at Microsoft's site (pre-installation steps for SQL Server 2005 Standard, as they relate to the removal of SQLExpress). My problem is I can't run "Reporting Services Configuration". When I try to run it, the main window opens with "Report Server Installation Instance Selection" window, and immediately I get an ...Show All

  • SQL Server Calculate Median Value

    I am converting a report created using Crystal Reports 10 to Reporting Services.  The report contains a list of items with dollar values.  The original report displays both the Average and Median value.  I can easily ( using avg(Field1.Value!) ) determine the average but cannot find a function to determine the median. How can I add the Median to the report   Thanks in advance, Greg Sorry I didn't post this sooner. Firstly the sql needs to be returned in the order that it is being returned in the report. This is easily achieved by using GROUP BY at the end of your querry. The general program flow is this. There are the following member variable to m ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. game time

    hi all, in my main draw function of my game i call a function splash.Draw(gameTime); in the splash.Draw() function i have a line of code Console .WriteLine(( float )gt.ElapsedRealTime.Seconds); this along with every other member of gt just returns zero, i cant figure n e reason this should happen, if i call the same function in the main Update or draw functions of the game it still returns zero, is there a reason it should do this many thanks You have to remember that gameTime.ElapsedRealTime.Seconds will return a WHOLE number representing the number of seconds that have passed since the last call to the Draw function. It will always return zero (unless you are doing something ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Exporting from blender?

    Has anyone gotten exporting from blender to work yet I'm using the .x export option that ships with blender, and while the basic mesh shape is correct, it appears that it's oriented along the wrong axis, and it appears that the normals are flipped. I've tried several combinations of the export options, but haven't found the magic working one yet. Thanks, Ryan I had the same problem for ages (although now I have new ones :( ). If I remeber correctly you pick the 2nd directx option (if you have 2), from the dialog select anim, swap zy and flip Z buttons and then export. This is what works for me (well most of the time, occasionally I still have flipped normals). If you still have no joy PM me a ...Show All

  • Visual C++ UI Unresponsiveness in CWnd derived control

    Hello, I am currently working on a MFC project that has a control that is derived from the CWnd class. Inside of the class, there is code to dynamically create editboxes and other standard windows controls from within the CWnd class. My question is, upon drawing the control on the screen, I can all of the subcontrols (controls within the CWnd derived control class), however when I click inside say an edit box, I do not see a blinking caret, and when I enter data into the text box it fails to update. What would be the cause of such an issue in MFC Sincerely, James Simpson Straightway Technologies Inc. There are many potential causes. I don't really understand what the problem is, except & ...Show All

  • Visual C++ XML

    Hello folks, I am currently working on a program that scans values (temperature, fan speed) for boat engines. Now, I want the program to save the scanned values in a xml file, and i already have this to work. But, it should add new values to the same file once every minute, so i would want to append the existing xml file in some way.. How do i do this This is the code thus far for the xml output: std::ofstream xml( "xmlvalues.xml" ); xml << "<INSTALLATION>" << endl << "<INFO>" << endl << "<NAME>" << " </NAME>" << endl << "</INFO>" << endl << "<TECH ...Show All

  • SQL Server Use Sql To Run Export Wizard??

    Is There any Command that can run the sql server export wizard and configure the setting of this wizard in order to export data to .txt file Ah, I see... have you checked this blog entry by Brett Kaiser http://weblogs.sqlteam.com/brettk/archive/2005/04/13/4395.aspx I've not tried it, but it looks like it's along the lines of what you're after. ...Show All

  • SQL Server Subscription customization

    We are currently using RSS 2000. I see when creating a subscription that you can use @ReportName and @ExecutionTime in the subject and comment areas. Does anyone know if there are other @ items that can be utilized Or, can you use formatting and functions in the subject line, or comment box For example, I would like the subject line in this particular subscription to include the month name of the previous month. Such as, MonthName(DateAdd('m', -1, Today())). Any help would be appreciated. Thanks Jack Boughson A data driven subscription is another kind of subscription than just one that is feeded from a sltored procedure. Let me give you an example: <story> Adventureworks (a fast growing company :-) ) wan ...Show All

  • Microsoft ISV Community Center Forums File Protection from Users

    Hello All, (I posted this in the Excel Forum yesterday and did not get any answers, hopefully someone here can help me) I would like to develop a VBA whereby users are only able to access the Excel file if they run the VBA code. Is there any way of doing this. I can stop users (via code): Closing Userforms etc. Deleting/Adding rows and columns Disable the menu Another thing I thought was to protect the Workbook and only unprotect it via VBA code. If the user choses "Disable Macros" at the security prompt, then they will have full access to the data. Is there a way to stop this. Another thought was to process the file without id being open ie set a reference to it from another another Excel VBA module (This will proba ...Show All

©2008 Software Development Network