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

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

NorCis

Member List

Nicolas S.
rknh_20
donkaiser
abdou_moujar
SpunkyMan
ilanb
OmidQRose
Rajeevan
togie
CV.
Shady Brady
Caruga
Tryst
johanan
Khurram01
Ragnarok
Byenary
jortiz
Peca55
codehelp
Only Title

NorCis's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Memory Leak?

    Heya, I've been working on this 2d game for about a month and a half. A space shooter with a ton of animations. But thats not the problem the problem is recently as the amount of Images has increased I've noticed that the memory usage never stops going up as the game progresses. I know there is some kind of flaw or redundancy in the way i store textures now since the release of beta2 and the content manager. However What would cause memory to keep adding up until the game begins to stutter The structure for storing textures was done before the content manager so it is just a Dictionary class that loads and gets textures loaded via the content manager. The UnloadGraphicsContent method in the game unloads the content mana ...Show All

  • Windows Forms CheckedListBox appears to ignore Sorted property

    Per MSDN Library advice I sorted the items the way I wanted in a CheckedListBox before adding them (not a data bound control). CheckedListBox resorted them in alphabetical order. Sorted property is turned off in designer, truned off again before items are added (using BeginUpdate before items are added). Code is C# under Framework 2.0. Thanks ...Show All

  • SQL Server SQL Merging Rows

    Hello everyone! Maybe you can help me out: I have 2 tables (A and B), Table A has 2 fields t1 and t2...each of them has a number that is related to the primary key of Table B. What i want is to make a query that presents: t1,t2, B.descriptionof_t1, B.description_t2 Anyone that can help me Thanks in advance... Sounds like a simple INNER JOIN:   SELECT     a.t1,     a.t2,     B.descriptionof_t1,     B.description_t2 FROM a INNER JOIN b ON     a.t1 = b.t1     AND a.t2 = b.t2   If this isn't what you wanted, please provide D ...Show All

  • Visual Studio 2008 (Pre-release) Entity Data Model wizard does not allow SQL Server authentication?

    Hi! I did some search in forum, sorry if this is already handled, but I did'nt found any topics on this. I trying to start the new project. Start the wizard, select the database but there is no way to select Use SQL Authentication Lauri Lauri, The Entity designer prototype only supports Windows integrated authentication at this time. -Lance ...Show All

  • Visual Studio Express Editions How to get ToolStripItem's next menu. for example

    File->New->abc there are 3 level menus, now, I can get File, but I don't know how to get New and abc menus. public static void getMenuNames( Form form ) { Hashtable table = ReadResource(form.Name, DefaultLang); System.Windows.Forms. MenuStrip menu = form.MainMenuStrip; int itemCount = menu.Items.Count; foreach ( ToolStripItem mi in menu.Items) { if (table.Contains(mi.Name.ToLower())) mi.Text = ( string )table[mi.Name.ToLower()]; } } Hi, try using MenuStripToolItem class instead of MenuStripItem in your loop, something in a way of: foreach ( ToolStripMenuItem mi in menu.Items) { ToolStripItem firstSubItem = mi.DropDownItems[0]; } Andrej ...Show All

  • Visual Studio Express Editions Sum ListBox values "VbExpress 2005"

    Hi My listbox display numeric values contained in Access Database file. and i wont to sum this all values. I haved tried some code combinations but it is not working. If someone will help me whith this problem, I will appreciate. Thanks I presume you are using the example that was provided for my question . In that case just try to change the example above like this: Dim TempIndex As Integer , Sum As Integer = 0 For TempIndex = 0 To ListBox1.Items.Count - 1 Sum += theDataSet.Tables(0).Rows(TempIndex)("MyField") Next MessageBox.Show(Sum) , FC ...Show All

  • Visual J# How to close a blocking DatagramSocket?

    Hi; I have a DatagramSocket that is waiting on a receive: DatagramPacket pkt = new DatagramPacket(new byte[100], 100); mySocket.receive(pkt); I need to close the socket when my application is ending (it is in a worker thread). I presently call mySocket.close() and that works but I get: net.windward.xmlreport.b: [formatter] ac.server WARN net.windward.xmlreport.b - direct java.net.SocketException: A blocking operation was interrupted by a call to WSACancelBlockingCall net.windward.xmlreport.b: [parser] ac.server WARN net.windward.xmlreport.b - multi java.net.SocketException: A blocking operation was interrupted by a call to WSACancelBlockingCall The thread 0x9d8 has exited with code 0 (0x0). net.windward.xmlreport.b: [p ...Show All

  • Visual Studio 2008 (Pre-release) DLINQ and Biz Rules/Data Validation

    Hi there, Are there any plans to include some hooks into a DLINQ objects life cycle to allow for easy valication I was thinking along the Rails ActiveRecord path where the DAO has validation build in that is automatically applied before an objects is saved. So in DLINQ what I really want to do is add some validation code to a known method(s) in my class - say orders as an example and have DLINQ check this during a save, and return false/ throw an exception if it does not pass validation. Anyone been able to achieve this with DLINQ, or does anyone at MS know if there are any plans to include it Thanks. Hi Jay, Thanks for the response. Property gettters/Setters are OK, but a lot of the time you need to perform entity level validat ...Show All

  • SQL Server Bug?

    I have a .rdl file which I opened in visual studio 2005. I answered Yes to the prompt Microsoft Report Designer. . . Do you want to convert this file [Yes] Then I saved the file. The issue is when I am in Visual Studio and click on the Preview tab, I get the following error: [rsErrorLoadingCodeModule] Error while loading code module: ‘x.ReportDefinitionsHelper, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. Details: Could not load file or assembly 'AdvancedMD.Report.ReportDefinitionsHelper, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. There was a <CodeModule> which existed prior to the conversion and the preview worked fine. I trie ...Show All

  • Visual C++ using a C++ MFC dll in the CLR

    I'm an embedded developer, and the processor I use comes with a MFC dll that contains a library of functions to be able to flash the processor. One of the functions looks like this: extern "C" __declspec(dllimport) int __stdcall GetUSBDLLVersion(const char **pVersionString); The part that has me stumped is the **pVersionString. I'm not sure how to implement that in C# or VB. Is it a char array Thre function returns 0 (sucess), but the variable I've stuck the return string in contains garbage, and I usually get a memory corruption error at runtime. edit: the c++ app that calls the function declares it as: const char *m_psEC3DLLVersion; ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Microsoft.Xna.Framework.Components.NoSuitableGraphicsDeviceException was unhandled

    Is there anyway around the exception below It comes from the statement "this.GameComponents.Add(this.graphics);" In Spacewar.InitializeComponent. Anthony ------------------------------------------------------------------------------------------- Microsoft.Xna.Framework.Components.NoSuitableGraphicsDeviceException was unhandled Message="The values used in the attempt to create the GraphicsDevice were invalid." Source="Microsoft.Xna.Framework.Game" StackTrace: at Microsoft.Xna.Framework.Components.GraphicsComponent.CreateDevice(GraphicsDeviceInformation newInfo) at Microsoft.Xna.Framework.Components.GraphicsComponent.ChangeDevice(Boolean forceCreate) at Microsoft.Xna.Framework.Components.GraphicsCom ...Show All

  • SQL Server Date formats in SSIS

    Hi once again guys, I seem to be struggling with everything in SSIS these days! I have a datetime field and I want to convert it to the following format in my derived column component : yyyy.mm.dd I also have another datetime field but this time I am only interested in the time values and I want to get : HH:MM How do I go about doing this in the SSIS expression builder Please help. Hi Jamie, Long time no see! Could you please tell me why the following expression doesn't get validated !!!!!! It's driving me crazy!!!!! LEN((dt_str,2,1252)DATEPART("mi",btg_opty_start_datetime)) == 1 "0" + (dt_str,2,1252)DATEPART("mi",btg_opty_start_datetime) : (dt_str,2,125 ...Show All

  • Visual Studio Express Editions Can't Compile anything...

    Hi, I have installed Visual C++ Express 2005, and I have installed the PSDK. I have followed all the guidelines on the website to configure VC++ for building Win32 Applications. However, when I try to compile any Win32 Project that I have made, It always gives this error: c:\program files\microsoft platform sdk for windows server 2003 r2\include\stddef.h(6) : fatal error C1021: invalid preprocessor command 'include_next' Something went terribly wrong. stddef.h doesn't belong in the SDK include folder, it belongs in the vc\include sub-folder. More-over, it shouldn't contain anything like "include_next". ...Show All

  • .NET Development Activator.CreateInstance

    hi, Can someone help me with this scenario I have a client with 2 versions. 1.0 and 2.0. client 1.0 will create a remote object of Server 1.0 and client 2.0 should create a remote object of server 2.0. This is what is happening...when client 2.0 calls Activator.CreateInstance on the Remote Type, its creating instance of server 1.0 which makes sense as there is no redirection on the server from 1.0 to 2.0. What I would like to ask is, is there anyway for the client to specify in Activator.CreateInstance to create the instance from assembly version 2.0 on the remote server rather than 1.0 version I would really appreciate some help here, thanks rb http://windowssdk.msdn.microsoft.com/en-us/library/bbab2dx1.aspx S ...Show All

  • Visual Studio Express Editions Disable F1....F12 buttons in c# browser application.

    I am writting XAML web application, in which i want to capture all key events, I am able to capture all keys, but the problem is with function Keys, from F1 to F12, When i press such keys, it also takes action on browser, which i dont want,   Can any one help me for this problem. Thanks in advance. Nisarg In my code the webbrowser control name is Page1.xaml. and there is no such type of method named "WebBrowserShortcuts". I try to looking for this.page1 but i am not getting event Page1 after this.... ...Show All

©2008 Software Development Network