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

Software Development Network >> gala123's Q&A profile

gala123

Member List

InfiniZac
FahimatMicrosoftForum
Guruprasad H R
dekc
ahmadifx
Pete Nelson
Sneak
aztec2_step
Celios
sqlster
Rotte02
Dietz
radhaps
uamaradasa
Ringo21
MunishGupta
sanjeeva.s
John Lieurance
Manmeet Panigrahi
sfabriz
Only Title

gala123's Q&A profile

  • Visual Basic Storing the value of a field from a table into a variable to be displayed on the screen

    I know I am close with what I am doing but haven't found quite the right combination yet. I am a newbie so please bare with me!! I have a table called Dimension1Goal1 in a dataset called CCADPDataset that I am trying to pull the value of a field called Intervention1_1 out of to display on the screen. Her is what I have coded: Dim DimGoalMethod As String DimGoalMethod = CCADPDataSet._Dimension1_Goal1.Intervention1_1Column I keep getting the error Value of type 'System.Data.DataColumn' cannot be converted to 'String'. The properties of the field is a system.string, why can't I do this and what should I do HELP!! Hmm well lets see if this helps. Row Index | | 1 | 2 | 3 | 4 | Column Index | | test | ...Show All

  • Windows Forms Disable key press event in combobox

    Can I select an item in a combobox by only the mouse clicking event Thanks. Thanks for your reply. I've tried the following, but didn't work. ControlName_KeyDown(object sender, KeyEventArgs e){ return; } ControlName_KeyPress(object sender, KeyEventArgs e){ return; } ...Show All

  • Windows Forms IEExec.exe crashes after assembly update

    I created a win forms assembly and put the exe on the web server. The first time the user clicks http://myserver/myapp.exe , it runs fine. Then, I update myapp.exe. The user closes the app then goes to http://myserver/myapp.exe again. On the client IEExec.exe crashes: IEExec.exe - Common Language Runtime Debugging Services --------------------------- Application has generated an exception that could not be handled. Process id=0x24c0 (9408), Thread id=0x1b5c (7004). Click OK to terminate the application. Click CANCEL to debug the application. When I hit CANCEL to debug, the debugger shows IEExec.exe has gotten a security exception: An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll ...Show All

  • Visual C++ very strange problem with std::string, std::stringstream and bad_alloc exception

    Hi, I am developing an application which looks like this: App A uses DLL B which uses DLL C. B And C are non-MFC DLLs. A is an MFC console-app. B exports a class class1. Class1 contains a single member of Class2. Now the following code leads to bad_alloc exceptions in std::string: in A lets have Class1 *pmyclass1 = new Class1; Class1->foo(); void Class1::foo() { m_class2.bar(); } void Class2:bar() { std::string foo; foo = std::string("This string has more than 15 characters and will lead to heap corruption"); } When the last line of bar is executed bad_alloc is raised. How can that be What's wrong here Additionally bad_alloc will also be raised if you dec ...Show All

  • SQL Server Totals on last page only - How?

    Just started (today) using RS2005. Me and my Brian Larson MS RS2005 book. Can't figure out how to get my Grand totals to ONLY print on the last page of my report. They are calculating correctly, but printing on every page. I guess I wouldn't mind if the totals were page specific, but it's not even doing that... Thanks!! Hi I have a table with grand totals in the footer of the table, to print the grand totals on the last page I set the Repeatfooteronnewpage to False. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Bug in BoundingFrustum.Contains()?

    If i write the following code: BoundingFrustum f = new BoundingFrustum(new Matrix(1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 2)); Vector3 vector = new Vector3(1,1,1); BoundingBox box = new BoundingBox(vector, vector); ContainmenType t; t = f.Contains(vector); Console.WriteLine(t); t = f.Contains(box); Console.WriteLine(t); I'd expect both to give the same answer. Either both are contained or both are disjoint. However the Frustum contains the point but the box is disjoint. What's going on As to your zeroed bounding volume : all operations with a volume of zero size are discarded by compiler as having no sense at all. XMas offtop - how to prove that every number is equal to its half. 1) Let A = B. ...Show All

  • Smart Device Development SHFullScreen too often returns "true" - How to check state of taskbar etc.

    SHFullScreen(m_hWnd, SHFS_SHOWTASKBAR | SHFS_SHOWSIPBUTTON); To my mind, this call should return FALSE on a pocketphone because the SIP button isn't supported, right However, it returns TRUE. What's the proper way to check to see if there is actually a taskbar, sip button, start button, etc. currently displayed on screen Also, it would be nice to have a call that returns the actual height of the taskbar in case that ever changes (or will it never change ). I suppose we can rely on the following: a windows CE application always launches with the taskbar displayed at the top of the screen a windows CE taskbar is always 26 pixels the location of an application frame window always starts at (0, 26) The third assertio ...Show All

  • SQL Server What is necessary to create SDF-Files on desktop legally?

    I want to write a PC application that prepares a SQL Server Mobile Files (.SDF) and sends it to a PocketPC. I get this error message: "SQL Mobile usage is restricted on this platform. To use SQL Mobile, you must install SQL Server 2005, Visual Studio 2005, or the Tablet PC SKU" If I install "SQL Server 2005 Express" the error message disappears and everything works fine. Question: Is it allowed to create SDF-Files if "SQL Server 2005 Express" is installed or is it necessary that my customers buy "SQL Server 2005" It's faster, easer to use, requires little coding on your part and works over HTTP so it can go through firewalls and your SQL Server is not exposed. But, sure, you can use SQL Cli ...Show All

  • Visual Studio Express Editions Modyfying the state of system registry

    I am comfortable with understanding the architecture of registry but do not know how to obtain and change the values in the system registry with WMI i.e Win32_Registry. How to modify the system registry using WMI in VB.NET. Also want to know how to create Keys and subkeys in the system registry. http://msdn2.microsoft.com/en-us/library/microsoft.win32.registry.aspx :-) ...Show All

  • Visual C++ error in passing a CTypedPtrArray object

    Hi, CTypedPtrArray<CPtrArray,SScreenDetEntry*> m_DestArray; I have declared a variable or u say object watever... of the one u see above...in which SScreenDetEntry is a structure. I have filled in data into this variable and trying to pass this to another function like screendetails(m_DestArray); where screendetails func also accepts similar variable when i compile i am getting the error as shown below Uxx_MS_FileDiffTree.cpp WINVER not defined. Defaulting to 0x0502 (Windows Server 2003) Warning! This release of Objective Views is not supported with versions of MFC newer than 7.10. Contact Stingray Software to obtain an update. Automatically linking with OC800d.lib Automatically linking with RWU ...Show All

  • Visual C# DllImport call using a struct as param throwing exception

    Hello, I'm trying to call a C DLL, and having some issues building a struct that will pass through successfully. Here's an abbreviated version of the definitions in the C .h file: typedef struct { /* inputs */ char hist[ 4 ]; char site[ 5 ]; char behav; char grade; char age[3]; char size[3]; char ext[3]; /* display outputs */ char t[12]; char tdescr[4]; char n[12]; char ndescr[4]; char m[12]; char mdescr[4]; /* error messages */ unsigned long error; char messages[ 2000 ]; } datacard;   #define CSTAGE_API __declspec(dllimport) CSTAGE_API int CStage_calculate( datacard *dc );   On the C# side, this is what I have so far:   &nb ...Show All

  • Windows Forms How to cancel the process untill the validations conditions are met when click the button? --VB.net or VS 2005

    Hi I have a 10 tabs in windows form (VB.net or VS 2005). I have validation function to validate the textbox control in the tabpage. So if the condition not met the validation triggers when leave the tabpage and inform the user by message box. When user responds to that message box the curser move on to other page or other control. But I want keep user to stay on that tabpage untill the validation conditions are met. The sample code will be appriciated. Advance thanks Let's assume there is a TextBox control (let's name it theTextBox) on the second page (theSecondPage) of a TabControl (theTabControl). Then theTextBox.Parent.Name will result in "theSecondPage". You can switch to the page with theTabControl.Selec ...Show All

  • Visual C++ Error messsage

    The version of SP is 20040803.231319. It has been suggested that I post my query in another forum. This I will do. Thanks for responses. You could try to search with Windows Explorer all your local harddrives. Press F3 in Windows Explorer and search for the file psapi.dll If you can ensure that you have only one version of that file on your system it might also help the support of BT to track this down. -- SvenC ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Losing Background Surface

    Hiya, I'm working on a simple 2d shooter game in VS 2003 using managed DX. Problem: my backgrounds (LPDIRECT3DSURFACE9) start disappearing after x levels Computer 1 has a Radeon Mobility 7500 that has 32 meg of VRAM and starts losing backgrounds after 7 levels. Computer 2 has an integrated graphics card with 64 meg of VRAM and starts losing backgrounds after 11 levels. So it seems that I'm not releasing somthing properly but I have thoroughly checked this. The way it works is as follows: 1. Load Menu and associated textures and surfaces 2. User clicks 'play' and all Menu textures and surfaces are released 3. The Game is initialized loading all textures and surfaces from scripts 4. player completes ...Show All

  • Visual Basic using tabcontrol's tab pages to select a specific user control from a panel collection

    If you can catch my drift in the code below, I'm trying to select tabcontrol tabs on a tabcontrol on the right side of a split container. (There is a separate tabcontrol on the left, which has tabs, whose selection will spawn a different set of tabs on the right tab control. I am having a difficult time selecting a tab on the right, and having it display the correct user control. I am using only one panel with a collection of controls, rather than a tab page for each control.( For some reason that proved to costly performance wise.)  Does anyone understand what I am 'trying' to do Thanks -greg Private Sub TabControlRight_SelectedIndexChanged1(ByVal sender As Object, ByVal e As System.EventArgs) Handles TabControlRight.SelectedIn ...Show All

©2008 Software Development Network