Software Development Network Logo
  • Game Technologies
  • Visual Basic
  • Microsoft ISV
  • Smart Device
  • Visual Studio
  • Visual C#
  • Windows Live
  • VS Team System
  • .NET Development
  • VS Express Editions
  • SQL Server
  • Windows Vista
  • Architecture
  • Visual FoxPro
  • Windows Forms

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

ALY_SARHAN

Member List

KienLip
jefri besharati
Werdna
Adapterboy
alikashani
CPLETZ
klymer
Cláudio Teixeira
Harshvardhan Kharche
Markus_R
OliverOdermatt
kirikiri
Reutener
Carsten Loeffler
Lloyd Rice
DGK
PeterBrown
Syed Safiullah Hussaini
Regulus
mTIE
Only Title

ALY_SARHAN's Q&A profile

  • Visual C++ Unhandled exception at ......

    Hi all. I have this code: //an object, create as MObject* object = new MObject(); object->value=10; //try to delete to delete memory of this object delete object; //and then check it //this object is not NULL if (object!=NULL){ //its memory is deleted, so below command is error, how to catch this error by // try{}catch("what is here"){} , or have other way to catch this error int j=object->value; ........ } Please help me. Thanks i'd love to know what kind of exception that throws too. but how about a general catch(...) for the meantime ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Sharing Vertex Buffer between meshes

    Is it possible to store multiple meshes (Microsoft.DirectX.Direct3D.Mesh) in one vertex buffer to avoid vertex buffer switching Or is it the best not to use the D3DX mesh object at all    Switching vertex buffers is really not very expensive. Even if it were, if that's your biggest performance worry, you are in a very good place indeed - there are usually a lot more important things to optimise before that. Don't worry about, and just create one VB per mesh - much easier that way. You can always change it later. ...Show All

  • Visual C# Converting code from VB to C#

    Does anyone know of any tools (preferably free) that can convert VB code to C# code Please post any links to such tools in this thread. Thanks in advance. Hi, Take a look also at: http://www.carlosag.net/Tools/CodeTranslator/Default.aspx http://www.elegancetech.com/csvb.aspx Regards, Vikram ...Show All

  • Microsoft ISV Community Center Forums Help required.....

    Can someone help me please I am trying to create a VBA User form to open up individual Spreadsheets rather than having to have all the sheets open (as with a workspace). I have designed the user form and now need to code the command_buttons. However I am stuck with what code I need to use. If it helps, I need to program 7 buttons, 6 will open spreadsheets and one will open a MS Project file. This is fairly urgent as I have to have ready for this afternoon. I know that I am cutting it fine but you are my last hope. I can use the workspace method if I need to but as I am only using a laptop with limited memory, it slows it down to a s ...Show All

  • SQL Server Error in execute sql task

    I get the following error when trying to execute an sql statement in oracle and returning the results into an object variable with the execute sql task. Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query "select <columnlist> from <tablename>" failed with the following error: "The SelectCommand property has not been initialized before calling 'Fill'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. It executes fine if I select no results or first row but I ...Show All

  • SQL Server not able to display image during runtime

    Hi guys, i do not know when i get out of this ..... I have a image in system i use parameter to pass the path like - file:c:/Lables/RGlogo.gif . while viewing the preview i give the path, the image gets displayed. After deployment . during runtime if i pass the same path thru parameter it does not display at all. i tried thru my application and thru http://localhost/reportserver directly. neither works pls help me out suresh k When the report is previewed in Report Designer, preview uses the credentials of the user to display the image. When the report is run on the report server, the report server uses th ...Show All

  • .NET Development Error: Unable to open shim database

    I get this kind of events logged in the eventlog: Source: .Net Runtime Type: Error Unable to open shim database version registry key - v2.0.50727.00000. Is this 'normal' behaviour or is there a misconfiguration. I have this messages on Windows 2003 Server, on SqlServer2005 boxes as well on TFS app tier and Terminal Server running VS2005. Strange thing is: everythings seems to work OK... Rene According to Jesse it is only an access permission issue on one ore more registry keys. If you run Registry Monitor (download from www.sysinternals.com ) (no install required, but run it as Administrator) you can find ...Show All

  • Visual Studio 2008 (Pre-release) ToList() and ToArray() not found

    I'm trying to execute the following sample code var q = from c in db.Customers where c.City == "London" select c; // Execute once using ToList() or ToArray() var list = q.ToList(); I'm getting a compiler error: "Error 43 'System.Data.DLinq.Query<Customer>' does not contain a definition for 'ToList' " I get similar error when I try to use ToArray() method. The query works fine when I loop through the results in a foreach statement. Any ideas Make sure you have imported the System.Query namespace with the using clause. Otherwise, the compi ...Show All

  • Windows Forms Binding exception: "The value for column 'Test' in table 'Test is DBNull."

    I have a form with some controls and a binding source. During runtime the datasource property of the binding source is set to a datarow of a datatable ("Test") in a typed dataset. The form contains a combobox that is bound to a guid field ("Test") in the row, that allows dbnull values. In my testproject this field is initialy not dbnull. During runtime it is set to dbnull. After that, I receive the following error message in the binding complete event and the selected value of the combobox is not set to the new value: "Property accessor 'Test' on object 'MyDataset+TestRow' threw the following exception:'The value for column ' ...Show All

  • Visual Studio 2008 (Pre-release) MSDN Chat: DLinq, May 18th @ 12:45pm Pacific Time

    Show up and tell us what's on your mind! People from the C# and DLinq teams will be there to listen. We're still in the planning and development stage, so rest assured - we can react to your feedback. The official chat schedule entry . Add a reminder to your calendar. The chatroom itself . All upcoming developer chats . Have some time zone questions Check chats category on my blog for the next C# chat. See you there!  Scott Nonnenberg Scott Linq is really powerful tool. It allows query manipulation in comfortable, transparent manner. But it seems the power is not used fully. Does DLinq allow data mo ...Show All

  • Windows Forms mnemonic Underline can't be seen for toolstrip buttons

    I have a BaseUserControl with a toolstrip, which mnemonic Underline is visible, but all of my UserControl inherited from it don't have the Underline visible. Thanks in advance. Wei I forgot that OS feature. after I did the Uncheck Hide underlined letters for keyboard navigation until I press the Alt key All underline appear. don't know how to overwrite that OS feature. Besides, when I checked that, underline doesn't appear even ALT is pressed. Thanks. ...Show All

  • .NET Development Mozilla-onfocus event, need to set the cursor at the end of text in textbox

    Hi , I need to set the cursor at the end of the text in textbox in mozilla. I tried the setSelectionrange() method , but i am unable to set it. Plz Help me !!!!!!!!!!!!!!!!!! Hi Padma, maybe this helps function setSelectionRange(input, selectionStart, selectionEnd) {   if (input.setSelectionRange) {     input.focus();     input.setSelectionRange(selectionStart, selectionEnd);   }   else if (input.createTextRange) {     var range = input.createTextRange();     range.collapse( true );     range.moveEnd('character', selectionEnd);  &n ...Show All

  • Visual Studio Problem printing reports with CRXI

    Hi all, I have a question concerning the integration of Crystal reports XI into Visual Studio .NET 2003 (C++). Displaying reports with the ReportViewer class works fine, the problem is to print them: -The PrintReport() function of the ReportViewer object results in an COleDispatchException. -The PrintOut() function of the Report object does nothing at all, even if I set the correct printer (network printer) by means of the PrinterSetup() dialog. Result of the PrintOut function is S_OK or sth like that but nothing is printed. If I print the report via the print button when the Report is displayed (ViewReport() function) it w ...Show All

  • Visual C# Errors while viewing usercontrol's design mode

    When trying to view the designer of a user control that inherits from another user control that contains any control the following error is displayed: An error occurred while loading the document. Fix the error, and then try loading the document again. I see this sometimes, what probablly goes wrong here how to avoid it I have seen simillar error even when I had one user control. Hi David, Your assumption is right, I use window Forms. I get warning window if project is not built to use the new control, I make some mistake and I overcome by creating a new file. I know not where I make this mistake and I do not have a screen shot ...Show All

  • Windows Forms Error while accessing value of the control

    Hi, I have two combobox filled with data in a window form. I also have one more window from in which I have declared two variables. Now my requirement is that how can we access selected value from the combobox in first form to the valiable declared into second form. How can we access selected value of the combobox from any place in the working application. If possibe please provide some example. Thank you Create properties on the form with your comboboxes and have those properties return the SelectedValue from the comboboxes. ...Show All

©2008 Software Development Network