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

Software Development Network >> Fernando Tubio's Q&A profile

Fernando Tubio

Member List

TomekCalifornia
gwong685
Shaun Erikson
Rickard1
danni123
BigBoom
Amir Goodarzi
Chris Peacock
Zeev Halevi
Eric Kinateder
perf101
Borko
Kent Boogaart
xr280xr
UAE Star
wolverine123
JohnPrem
vonlinkerstain
Ondis
Hossam Abdel Wahab
Only Title

Fernando Tubio's Q&A profile

  • Visual C++ Tooltips disappeared after switch from VC 6 to VC 8 due to breaking change in CWnd::OnToolHitTest()

    Hello everybody, after switching from Visual C++ 6.0 (VC 6) to Visual C++ 2005 (VC 8), many tooltips in my dialogues would not show up anymore.  It took me quite a  while to pin down the reason for this behaviour: The tooltips don't show up anymore for all child window controls which lie inside the window rect of another control like a group box or a tab control(*) preceding it in the tab order. The enclosing control has child window id IDC_STATIC, which in VC 6 meant that it was ignored by CWnd::OnToolHitTest()  (more precisely by _AfxChildWindowFromPoint(), which is used by OnToolHitTest(), see below). Now in VC 8 the constant for the controls-to-be-ignored chang ...Show All

  • Windows Forms Problem calling event from control

    Hi, I have a control, SimpleSplitter , that derives from Splitter where I override the OnMouseDown , OnMouseUp , OnMouseSplitterMoved and OnSplitterMoving . I do this because I don't want the Splitter to handle these for me since it will draw what I call a shadow splitter when handling these events. So I wanted to still handle the event but not call the OnMouseDown of the Splitter , instead, I wanted the parent of the Splitter , that is the Control . I'm not seeing how I can do this. If you don't understand what I mean, you have the code here: http://n0n4m3.gamedev-pt.net/ pag=managed_component2&language=en The solution I used was to create a new event, MouseDown2 , but I don't like this solution and I think there's a better one. Tha ...Show All

  • SQL Server Parent Child relation ship table in SQL Express

    I want to build Parent child relation . i have two aproaches .I would like to know which is the best solution 1)1st method:- Parent table with parent id . Child table with child id and parent id.Foreign key relationship exists between parent and child tables with cascade delete option enabled. Parent TAble Id name 1 XYZ Child table id name parent id 1 abc 1 2 qwe 1 2)2nd method table with id and parent ID. Top level element will have null value in table. eg id name parent id 1 xyz 2 abc 1 3 qwe 2 4 adf 1 Retrieve data using recursive queries supported ...Show All

  • .NET Development URGENT Assembly.LoadFrom(http) == "Could not load file or assembly 'X' ... or one of its dependencies."

    [Runtime Version v2.0.50727] Question regarding Assembly.LoadFrom(http). This really is URGENT; thank you for your time. Hello, I have three projects: X, Y and Z. Project X is a class library-type project full of user controls that other developers monkey with; these controls obey a set interfaces we have defined in project Z. Project Y is a winforms-type project. It does not contain a reference to Project X, but it does contain a reference to project Z - just like project X does. Project Y loads Project X dynamically from a HTTP using the following code: /// * start sample string _Url; _Url = " http://localhost/projects/ProjectX.dll "; System.Reflection.Assembly _ProjectX; _ProjectX = System. ...Show All

  • Visual Studio Debugging a DLL

    I have a solution that contains 3 projects. One of the projects is a DLL that contains interfaces. Another project is an ASP.NET application that calls the aforementioned DLL. When I start debugging, I was able to step thru the asp.net. But when the DLL is called from the asp.net app, the debugger doesnt enter the DLL even though I placed breakpoints in them. Thanks.  ...Show All

  • Windows Forms how to create an exe in the programs folder

    Ok I can not find this answer or one that works on how to create a deployment (setup) that will install an application exe in to the programs folder of the computer being installed. I have tried to do the setup and deployment progject( using the wizard) but I can not find details on making it work Try these: http://www.simple-talk.com/dotnet/visual-studio/getting-started-with-setup-projects/ http://www.simple-talk.com/dotnet/visual-studio/visual-studio-setup---projects-and-custom-actions/ http://www.simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/ ...Show All

  • Windows Forms ClickOnce Publish Version Problem

    I am currently using .Net 2005 Professional (see Info below). Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 I am using ClickOnce to publish new versions to a local web site. Lately whenever I publish, the solution builds just fine, but attempts to publish an older version (1.1.2.33) even though I have manually set the Publish Version (in the Publish tab in Project Properties dialog) to 1.1.2.42. It appears that regardless of the version I enter in the property, I get the same error message: Published version 1.1.2.41 will be replaced by an older version (1.1.2.33). Can anyone help me with this one ...Show All

  • Visual C++ How to reset keyboard state? (remove Ctrl or/and Alt down)?

    Hello there. My env. is VC++ .NET on Windows 2000 prof. SP4. I installed global hooking. I need below.. For example, user stroke 'a' then typed '7' instead 'a' by SendInput(). ( My MsgHook func. is like .... if (pkbhs->vkCode == 'a' && wParam == WM_KEYDOWN) { INPUT input[1]; input[0].type = INPUT_KEYBOARD; input[0].ki.wVk = VK_NUMPAD7; SendInput(1, input, sizeof(INPUT)); return 1; // return non-zero when process } .... ) This is good work. But, I want user stroke Ctrl + 'a' then typed '7' too. BUT, it works like stroke Ctrl + '7'. So I want remove state about Ctrl. (or Alt) Use SetKeyState() But I can't found usage. How to solve this problem Thank you. PS I find this post there h ...Show All

  • Windows Forms Alternate Task upon Deployment

    Hi just wanna know if there are any work around when deploying projects. when deploying projects especially when transfering the dll of the project. the pages become un available and produces error. is there any way to execute other commands when deploying projects instead of showing error page Thanks in advance kerwin ...Show All

  • .NET Development Get AbsoluteRange of a NamedRange Using OLedb, Excel

    I am currently using OLEDB to read the data from excel using C#. I have a scenario in which i will pass a NamedRange and I need to get the data from the NamedRange and also I need to read the data from the cell adjacent to the NamedRange. What I was planning to do is to get all the data in a dataset and then if I have the absolute range information of a NamedRange, i can filter the dataset based on that and i can read the cell adjacent to it from the dataset. But now am not able to find any way to get the absolute range of a named range. I have tried using " GetOleDbSchemaTable", but it will provide the absolute range information only if there are header information in Excel.Else it will return default values F1, F2..etc. ...Show All

  • Visual C# help with the following code

    I'm new to .net and just learning c#. I have the following code in vb and want to convert this to c# Public Class PositionData Private strText As String Private strUrl As String Public Sub New(ByVal strDisplayText As String, ByVal strURL As String) Me.strText = strDisplayText Me.strUrl = strURL End Sub Public ReadOnly Property DisplayText() As String Get Return strText End Get End Property Public ReadOnly Property URL() As String Get Return strUrl End Get End Property End Class Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim MenuItems As New ArrayList MenuItems.Add(New PositionData("About Us", "About.aspx")) Men ...Show All

  • Software Development for Windows Vista CD drives not working

    My cd drives are not showing up when i go into my computer. So i went to device manager and found them there but it says that my drivers failed to install so i uninstalled the device by right clicking it in device manager then searched for hardware changes. Right after this the device installer came up to install the drives but it failed. screenshot below ...Show All

  • Windows Forms Two way databinding doesn't work?

    Hi guys I have a class which has a Dob (date of birth) property with validation rule (If user select a date early than 1920/01/01, reset the value to 1920/01/01. If user select a date later than .... ) inside it. Then I bind it to a Windows.Forms.DateTimePicker control and found out that the validation rule works but the new value won't be displayed on the DateTimePicker control until I manually call Form.validatechildren or Bindsourse.ResetItem method in Validated event of the DateTimePicker control. What do you guys think By the way, Yes, I do have INotifyPropertyChanged interface in the class and it works very well except the above problem. And also I know I can use the MaxDate/MinDate properties of DateTimePicker control in ...Show All

  • Visual C++ Incrementation

    Hi, int i=0; int j=++(++i) + ++(++i); Can anyone explain me why j=8 thanks! I believe code like this is implementation dependent--which version of i during the preincrementation is decided by the compiler.  But the current behavior is what you *should* expect from a compiler that produces the best code by avoiding making temporary copies.  By stepping through disassembly, you can infer how the compiler interprets this. By moving preincrements to their own lines, this code is equivalent to: ++i;  // note that this expression evaluates to a reference to i itself, which carries a new value. ++i;  // increment that reference ++i;  // this uses the refernence to the n ...Show All

  • Windows Forms Concurrency violation help me please

    hi i use vb.net 2005 and an access database i connect to one table and change many things on the table and then save it again i use the disconnected mode i disappointed i try to solve the concurrency violation like the msdn said (get a fresh copy of the table and merge it to the worked one)but it sometimes save and sometimes not !!!!! although im one user for the database help me thanks in advance. Hi, Concurrency exceptions only happen if the data in the DB doesn't correspond to data in the DataSet's "Original" version. So, either the "Original" version of the data is changed in the DataSet, or the data in the DB is changed by some "external" action. I know Access DB's don't support triggers, ...Show All

©2008 Software Development Network