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

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

NoEgo

Member List

Keithyboy1
ckob
Werner Kraemer
BH1234
warkaid
Thad213
Martinp23
TomJ72
Thoras
Simjith
omar_rapid
DotNetDave
Tridex
renotiko01
BobH
Simone1
rattatosk
XBTester
Alan4s
Cherian
Only Title

NoEgo's Q&A profile

  • Visual C++ Compiler/Debugger output giving incorrect line numbers

    A file within a project I'm writing is giving incorrect line numbers in the compiler output, and also it is debugging at the wrong place. ie. the compiler output shows an error at line 1847, which is actually on line 1848. It also affects debugging: the debugger shows you're at line 1900, but the code being executed is actually at 1905. The further down the file, the worse the difference in line number becomes. I've tried cleaning the project and re-building from scratch, but this has not worked. The code this first occurs on is straightforward, nothing hard for the compiler to parse: bool CProxy::ProcessReinviteFromSwitch(CTransaction* p_pTrans,CSIPPacket* p_pPacket) { string l_sIPAddr; unsigned int l_unPort; ...Show All

  • Visual Studio Express Editions Question about converting data types

    Good day, I'm having a little problem in C# while reading from a binary file. What I am trying to do is get the decimal value of 2 bytes of hex data, i.e. "0008" in hex would become 8 in decimal data. Problem is, whenever I try to read it it outputs 2048 or something similar, at least not the number I am looking for, which means I should be doing something wrong... Do you have any idea to get a right number out of this My current reading code: -------------------------------- private int packageType; // Nothing interesting to see here either map = new FileStream (url, FileMode .Open, FileAccess .ReadWrite, FileShare .ReadWrite); BinaryReader br = new BinaryReader (map); map.Seek(0, SeekOri ...Show All

  • Windows Forms Adding Components to Windows Forms

    anyone have any links on how i would add a component control to my windows form I created a component and now i want it to be inside my panel on my windows form but I cant find much info on the net to help me out though.... where are you placing the code Also don't do the Container.Add (this maybe a problem I don't know but do not quote me) do this: this.pnlOrderContainer.Controls.Add(ordercomponent); and yes you have to create an instance of the control in question. ...Show All

  • Visual Studio Express Editions Help!! - Code doesn't update when I run debug

    OK - This is my second time asking. No one has answered my last post. Yesterday - I created a program. While I was working on the code I occasional would run the program. I would then see some errors in the way I wanted the code to work and then make changes to the code. All the sudden – when doing the same thing as above – when running the code through debug I noticed that the changes in the code where not taking effect. I then tested my theory and found that I could even create errors or remove large chunks of code and the program would still run as if I didn’t make these changes. Can anyone please explain hi, no the program shouldn't act this way, but if you have errors in the code t ...Show All

  • .NET Development Framework1.1->Framework2.0 and 'There is an error in XML document'

    Hi I am investigating some problem and I cannot find a solution. Maybe someone cen help me... After converting project from Framework1.1->2.0 a have the following error in a few of my customers: System.InvalidOperationException: There is an error in XML document <189,2> -->System.FormatException: Input string was not in a correct format ........... and after many exceptions System.InvalidOperationException: <logAttributeSpec xmlns=''> was not expected..... ..a part of definiftion in cs [ XmlRoot ( "logAttributeSpec" )] public class LogAttributes { [ XmlElement ( "structureList" )] public StructureList Structures; [ XmlElement ( "logTypeList&q ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. JIT register allocation and bounds checking

    A few questions for Shawn or one of his buddies: 1/ Does the register allocator used in the XBox JITter use all of the available scalar floating point registers If not, how many can it deal with 2/ Does the XBox VM ever skip array bounds checking, and if so under what conditions 3/ Presumably there are no bounds checks when using unsafe code and pointers 4/ Are the method inlining limitations of the CF VM mentioned here still applicable to the XBox VM - especially the one about not inlining any method with floating point arguments or return values (yikes, that would be all floating point setters and getters!) Andy.   Jon Watte wrote: I've got an archive of Andy's post. It was ...Show All

  • Visual C# Resolution of the [Design] window.

    I am currently working on developing an application that is designed to run on a monitor that is running at a resolution of 1280 by 1024. Unfortunately the monitor I am developing the application on will only support that resolution at 60Hz, which I find painful to use, so I am developing it at a resolution of 1152 by 864. When I open the main form (size 1280 by 1024) in the C# IDE then the view is restricted to 1152 by 864 and I can not see the bottom and right of the form. Is there any way of telling C# to display the entire form in the [Design] window Is this a bug and has/should it be reported to Microsoft There is nothing like "zoom" in the design window, and never has been. This is more of ...Show All

  • Visual FoxPro Seperators in toolbars.

    Hi; I have put a few cmdButtons in a toolbar. I am trying to space them but when I put a spacer they alwars go to the beginig of the toolbar. I can't seem to find a way to space the command buttons. Thanks for your help. Getting separators where you want them is tricky. I've found that I just have keep trying until I get what I want. Sometimes, once I add a separator, I'm able to move it to where I want it. (You can select it by choosing it in the property sheet.) Sometimes, I just end up deleting and trying again. Tamar ...Show All

  • SQL Server showing nulls- UPDATED

    Hi All, Ok in an effort to work why the NULL values of my OUTER JOIN are not being shown... I've stripped the query down as best I can The only thing that's a little complicated is the CASE statement to correctly format one of the postcode values from one tbl to the other.. apart from that I can't see why they wouldn't show... Any ideas anyone SELECT ISNULL(COUNT(CASE LEN(REPLACE(dbo.Customers_Trade.PostCode, ' ', '')) WHEN 5 THEN LEFT(REPLACE(dbo.Customers_Trade.PostCode, ' ', ''), 2) WHEN 6 THEN LEFT(REPLACE(dbo.Customers_Trade.PostCode, ' ', ''), 3) ELSE LEFT(REPLACE(dbo.Customers_Trade.PostCode, ' ', ''), 4) END), 0) AS PCCount, dbo.UkPostcodes.Postcode, dbo.UkPostcodes.Town, dbo.UkPostcod ...Show All

  • Microsoft ISV Community Center Forums How to adress a single cell in a named area

    I have a named area "Stock" on a spreadsheet (Office XP), the range is defined as follows: =OFFSET('Stock List'!$K$1,0,0,COUNTA('Stock List'!$F:$F),4) ie it starts at K1, is 4 cols wide and as deep as the number of used cells in Col F I want to access this in an array format using VBA, ie using variables to define the position of a single cell within the array and to either read or set the value of that cell. I tried Range("Stock").Offset(x,y).value="test" to put 'test' into cell x,y in the array - it puts the value into a range, not just a cell. and to get the value i.e. variable=Range("Stock").Offset(x,y).value What is the correct code please ALlan ...Show All

  • SQL Server Creating Total to-date query...

    I am trying to create a query where the data is for a time period but there is one column that would show a Total-to-date. I've tried google and searching this forum but everyone talks about year-to-date or period-to-date but I don't want that. I would like to do : [from whenever data started being entered]-to-date I know I can hack this by doing an aggregate like so: WITH MEMBER [Timesheet].[Date].[TimeChargedTotal] AS 'Aggregate ( { [Timesheet].[Date].[Year].&[1900].&[1].&[1]:[Timesheet].[Date].[Year].&[2006].&[9].&[15] } )' Here I am betting on the fact that there is no data before 1-1-1900 which is a safe bet, but I'd prefer to do it the 'right' way if there is one. Thanks. Something like [Ti ...Show All

  • .NET Development Problem in File operatons over netwrok

    Hi All, I have written a application for performing the various file operations like Copy,Move,Create and Delete. I am performing these operations over the network i.e. i am accessing the file from another system which is in network with my system. When i am accessing the file then an error message is displayed "Unknown user or bad password" Is there any way to specify the username and password while accessing the file Its very urgent. Thanks in advance Rakesh Kashnia Hi Vikram, When i am accesing a file from a system which is LAN with my system and i have taken the code from the link you specified. we don't have any domain,so i left the domain blank and ...Show All

  • Visual Basic Question about Hiding the command console while executing a module.

    Hi, Would somebody please tell me how to hide the command console when executing the module that creates it can you show us the code if you are running a process that launches the command console/prompt, use the ProcessStartInfo and set the WindowStyle to hidden: http://msdn2.microsoft.com/en-us/library/system.diagnostics.processstartinfo.aspx ...Show All

  • Windows Forms Changing border color of GroupBox

    Is there any way to change the border color of GroupBox Thnx! Sub-class the GroupBox class, override the onPaint event: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Sample2 { public partial class GroupBoxTest : Form { public GroupBoxTest() { InitializeComponent(); } private void GroupBoxTest_Load( object sender, EventArgs e) { myGroupBox myGroupBox = new myGroupBox (); myGroupBox.Text = "GroupBox1" ; myGroupBox.BorderColor = Color .Red; ...Show All

  • Visual Studio Express Editions Does free downloaded Visual C++ 2005 Express Edition support DLL development ?

    Dear Sir, I am a beginner on Windows developement environment. I have downloaded free Visual C++ 2005 Express Edition and Platform SDK. I can not find how to write a DLL program. Does the free downloaded Visual C++ 2005 Express Edition support DLL development If Yes, pls be kindly to tell me how to do it. Best Regards, Bin The header files I includes are : #include "stdafx.h" #include "Form1.h" #include "windows.h" #include <afxdll_.h> // #include <afxdllx.h> #define DllImport __declspec( dllimport ) #define DllExport __declspec( dllexport ) And I got compiler msg "C:\Program Files\Microsoft Platform SDK\include\afxdll_.h(19) : fatal ...Show All

©2008 Software Development Network