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

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

samssb

Member List

Kobingo
J1234
Mateus1223
laboremus
Craig Mackles
dad26087
NorCis
.NET Developer
Luis Esteban Valencia Muñoz
Jamie Plenderleith
CoderX
IceAngel89
rwerner
NilgunCelikok
jchau
kulkarni
RobertFogt
Josh Smith
seadur
kumarvk
Only Title

samssb's Q&A profile

  • Visual Studio Express Editions adding new lines in richtextbox

    Hi, firstly sorry to ask such a newbish question. I've been searching for about an hour and can't find an answer to this. I'm very new to VB (I've been using it for about 3 hours). I have a ListBox which I use as a menu. Depending on what is highlighted in the list box I want the text in my richtextbox to change. I have this bit working fine but I can't seem to make the richtextbox take a new line when I want it to. The closest solution I've found is something about using /nl or \nl or something like that but try as I might I can't get it to work. Here is an example of my code. Any help would be appreciated. Thankyou. Private Sub ListBox1_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Disposing Resources?

    Hi, I've been working on a few game components in my XNA project but I've become curious what is the correct way to dispose of resources that the component loads I load these resources either in LoadGraphicsContent or a load method of my own, but when the component is disposed, UnloadGraphicsContent is not called. I assume UnloadGraphicsContent is only called when the graphics device is reset. Now, the question is, where to I dispose my resources (spritebatch, textures, IO streams) - in the Disposed event If so, how can I detect whether the class is disposed and throw ObjectDisposedExceptions when a public member handling a resource is attempted to be accessed Thanks in advance for any help... Alex The ...Show All

  • Smart Device Development Tray Icon in C# in WM5

    Is there any way to add tray icon of an application that is executed in background I wrote an application in C# and i want when it is sent to background(it is minimized) to get an icon in the tray. When i click the tray icon, i get the application back again... I work in C#, in Visual Studio 2005. The whole project is about PPC Windows Mobile 5 device. Thank you THANKS! (for your time!)...But... I had reached at this point... And i couldnot find a way to disappear the "Notification" command in the left down corner...(picture 1). That was the reason why i was searching something for the tray bar...(look down) My first question was about the tray bar(is this called like this or was i wrong ). I want to place ...Show All

  • Visual C# ReportGeneration Application

    I have to create a web app. that prints out the statistics for student applicants in a .txt file. The data in form of Tables resides in a SQL server. Now, the user provides a date range(for eg. from 12/1/2006 to 1/1/2007) and the outputted text file will have the following: - The Number of applications received - The number of applications approved - Number of students with a criminal background and the type of background - Number of applicants who applied last year. I was wondering that from a design standpoint, what would be an elegant and effecient way to extract the data from the server, store it in some kind of data structure and output the contents in a text file. I was looking at Enterprise library and interfaces but ...Show All

  • SQL Server SQL Server Everywhere Rocks

    Hi there, I have been using SQL Everywhere 2005 for a while and it's very good, Last week I used it for the final graded project at the college and everyone was impressed with the quality and the small footprint. It would be nice if they can implement triggers on it. nice product. Thank You for using SQL Server Everywhere Edition! It's great to hear from the users of our product. We really appreciate that you took out time to provide us your feedback. Having triggers in SQL Server Everywhere Edition is one of the biggest customer's requests, related to this is supporting Notification as well. We will be considering these features in our next release (though not yet finalized). Please ...Show All

  • Windows Forms very basic use of combobox

    HI I create this struct to load mi items in the comboBox, so far this is the only way I know to do it. struct Elemento{ string Text; string ID; public Elemento(string text, string id){ this.Text = text; this.ID = id; } public override string ToString(){ return this.Text; } } then I use this line to load the items comboBox1.Items.Add( new Elemento (MyItemName, MyItemId)); my question is: How can I get back the value of an item I did this but it does not work Elemento MyItem; MyItem = (Elemento )comboBox1.SelectedItem ; I know Im close but there is something missing. Is this the best practice to load or use a combobox thks hi Realy no Im not using a list to do bi ...Show All

  • Visual C# can't create delegate

    hello, I'm creating a user control used in IE. For the security permissions, I use the signed code from one of hte dlls I made and signed. When I try to run the control, I get a MethodAccessException, and the problem comes up in delegates from a third party's dlls. Changing the security permissions to give Full Trust to all code (not a long-term solution possibility), it works. Does anyone know why this could be happening thanks for any help "This exception is typically thrown when the access level of a method in a class library is changed, and one or more assemblies referencing the library have not been recompiled." [1] [1] http://msdn2.microsoft.com/en-us/system.methodaccessexce ...Show All

  • Visual Studio VS2005 - Cannot add Resource to Project

    Hi, I'm not real certain in which forum to post this question. I couldn't really find an appropriate forum for it. Visual Studio 2005 crashes 100% of the time when I do the following: 1. Select My Project 2. Select the Resources Tab 3. Add or Remove a resource. I'm running the following version: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Anyone have any thoughts or ideas on how to resolve this I haven't re-installed. The thing is that it works fine on some projects. I re-created the project where it fails and I'm getting the same thing! Thanks interesting. Just to remove doubts, can you disable your anti virus software Now, what happe ...Show All

  • Visual Studio Team System Extent Trial license time

    We Installed Team Foundation sometime ago, today the trial License expired and one user who is still using TF was unable to access it, we are planning to go full blown in First quarter of 2007 around 30 users, how can I extent for Trial license for coupleof more months, I do not want to re-install again. Any help will be appreciated, by the way I have MSDN subsrciption. Asif Khan When you get the license key, you should be able to apply it to your copy by running "Repair/Reinstall" from the Add/Remove Programs control panel. Cheers, Adam ...Show All

  • Visual Studio 2008 (Pre-release) IDispatchMessageInspector.BeforeSendReply - Accessing Service Variable is null

    I have an operation that takes an XSL text as an input parameter which I store in a private variable for the Service. After the operation is complete and the reply is serialized, I want to access the service variable. When I do this the variable is always null . Here is what it looks like. Any thoughts on why the variable is always null and how to fix this are much appreciated. Dave I think you are experiencing the problem discussed in the following link,If this solution is not working for you,please send me repro,my email id is madhup@microsoft.com http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=470585&SiteID=1 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. ShadeMode?

    Is there a meanning for setting the ShadeMode from inside a Shader .fx file The shading technique done in the vertex shader and pixel shader functions, so setting the shadmoe will not have any effect on the renedring result Thanks in advance. Then why does the FillMode have an effect on the rendering result If I set the FillMode to WireFrame, the rendering will be wireframe. ...Show All

  • SQL Server Transaction Lockout of Reads

    Hi, I have been seeing a basic scenario of a write transaction appearing to unexpectedly lock-out reading. The database has isolation set to "READ COMMITTED". The scenario is: 1.) Start a transaction (for doing a write) 2.) Do a read before the transaction (for doing the write) is committed (e.g. sqlCommand2.ExecuteReader()). --> the code will appear to lock-up (then time out). I see the same behavior if I step through the "write" code with the debugger (to a point after the transaction is started, but before it is committed), and run a "SELECT * FROM" type query from Microsoft SqlServer Management Studio. Following is the code sample demonstates the issue. Thoughts on how to r ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Moving the camera

    i followed the three 3D tuts you have in your contents: ms-help://MS.VSExpressCC.v80/MS.VSIPCC.v80/MS.XNAFX.1033/XNA/GoingBeyond_ContentPipeline.htm ms-help://MS.VSExpressCC.v80/MS.VSIPCC.v80/MS.XNAFX.1033/XNA/GoingBeyond_Input.htm ms-help://MS.VSExpressCC.v80/MS.VSIPCC.v80/MS.XNAFX.1033/XNA/GoingBeyond_Audio.htm and they were very useful.. but now i want my camera to follow the ship around staying just behind it. ive looked at a load of websites but i just cant make the connection on how to do it, it always messes up :( Something about transforming the cam coords with the rotation ! Any help would be appreciated, cause im lost :(( Take a look at this tutorial, it does just this and goes through the whole development of the concept. ...Show All

  • .NET Development HELP: DllNotFoundException when calling an unmanaged dll via web service

    Hi, I am developing a Web service in VS2005 and keep getting the exception DllNotFoundException: Unable to load Dll 'myunmaged.dll': exception from HRESULT: 0xE06D7363. Basically, the web service calls a C# wrapper of an unmanaged Dll written in C++. When the wrapper is called from a console application, everything works fine; so that narrows the problem down to IIS ans ASP.NET worker process. I have tried to copy the unmanaged dll to the bin directory of the Web service, i even tried to copy it to system32 directory as well but still no luck. I have made sure that the ASPNET account on my machine have access permissions to these directories. Further info, my machine is running XP Pro with SP2. Please help. I'm getting de ...Show All

  • Internet Explorer Development Passing Session state between asp and aspx page

    hi i need to pass the session state from asp page to .aspx page i.e., .net form. my project is combination of both asp and .net page ,but i could not find out the way for passing the session between them. can any one guide me on this thanks and regards basith ...Show All

©2008 Software Development Network