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

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

FahimatMicrosoftForum

Member List

legoman26
mahima
DarwinMak
KaiserSozeTR
Tomas35595
MadhavG
Oz22
Gravy
NoDozing
vijaygill
StriderIRL
qqterry123
yousaid
Ken Villines
Benjamin Coats
maurocam
Chintan bhatt
Mr pinchy
Colin Fawcett
Philip Coupar
Only Title

FahimatMicrosoftForum's Q&A profile

  • Visual Basic ByRef error though parameter is passed by ByVal

    I'm getting an error while trying to fill a grid (third party). The code is as follows: Public Sub FillTheGrid(ByRef one As String, ByRef two As String, ByRef three As String) Dim s As String Dim e As Short = 0 s = (one & Chr(9) & two & Chr(9) & three).ToString e = grdUAH.AddItem(s, 0) <--- Error for this grdUAH.Row = 0 grdUAH.Col = 1 grdUAH.CtlRefresh() End Sub Though there is no value passed a ByRef, I get the error as: Byref value type parameter cannot be null. If I comment out the line e = grdUAH.AddItem(s, 0), there is no error! The stack is as below: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ****** ...Show All

  • Visual C# Enumerator on a linked list

    Hello everyone! I'm trying to get an Enumerator to work on a linked list but I'm not sure how to do it. MSDN documentation says that at first the enumerator should be positioned before the first element/node in the collection. Any tips on how to do that in a linked list I thought about setting it to null but then when the MoveNext() method is called I can't do current = current.Next since current is set to null. Should I save the firstNode, then in the MoveNext check if current is null and then do current = firstNode. Seems a little bit messy. Any tips Thanks in advance! -Marlun I believe I fixed it with this MoveNext method: public Boolean MoveNext() { Boolean result = false; if ...Show All

  • Visual C# "No source code available for the current location"

    Using VS 2003 C#, XP SP2. I have developed a 'Class Library' but I'm getting the "No source code available for the current location" error message when trying to call a method in the class library for a certain class. My solution contains both class library project but also the windows appliction that uses the functionality implemented in the class library. In the "References" section of the windows application I added the class library as a "Project" referring to the source code directory where the source code of the class library is located. I have deleted all files for all sub projects for the solution and rebuilt it, but still I'm getting the "No source code..." error message when trying to step into method in class library. ...Show All

  • SQL Server Install SQL Server 2005 Exp with ToolKit

    Hi, I would like to have SQL Server 2005 Express with the most features as possibles. It seems to be correct about 'AdvancedEdition' but, when I installed the "ToolkitEdition", in order to get "Business Intelligence Development Studio", I was not able to open this option. The file 'devenv.exe' is missed. Do you have some procedure and links to get best set up with theses features for SQL Server 2005 Express Thanks. First, I found "devenv.exe" and I updated the target for the shortcut. It is correct for loading Microsoft Visual Studio, but it is not sufficient because it is impossible to begin a New Projet BIDS: the others associated files are located in ano ...Show All

  • Visual Basic Problem in using Try/Catch/Finally

    A textbox(T_TextBox) is bound to a float-type number in a database. The innitial value of the textbox is from that column of the database. I used these codes in my program: Dim T as Double Try T = Double.Parse(T_TextBox.text) Catch MsgBox("Please enter a number for T.") Finally End Try The problem is: every time before I run the program, a message box saying "Please enter a number of T." shows up. This problem only happens at the very beggining. When I change the text later (I select another number from the database, and this is done through a combobox), this message does NOT show up. Anyone knows how to get rid of the msgbox at the begging Thanks, Lili I don't know ...Show All

  • Community Chat Creating APPS for xbox 360

    Hi i just installed xna on my pc and i'm trying to learn how to create games for my 360. So far it is comming along very slow, but wiith enought time spent on it i know i will get there, but i dont want to stop at creating games for my 360. I want to also know if i can create apps for my 360 like my own wallpaper themes. Am i able to do that with xna, and upload it for my 360, or can i only create games I would also know to know if it is possible for me to create a screen saver for my 360, because i would love to see cool screen saver like you would see on windows, or be able to make my own with pictures i save to my 360's hard drive. If all of this stuff is possible please let me know. Hope i hear from some one soon about it, and thanks ...Show All

  • SQL Server SQL 2005 Express and Visual Studio 2003 - Connecting

    I have Visual Studio 2003 and had used it successfully with MSDE. I recently upgraded to SQL 2005 Express and cannot seem to connect to the SQL server. it appears in the list of servers on localhost, but when I try to create a new database it tells me that it "cannot create databases on this server." It will not even open up any existing databases. I have .NET 2.0 installed. I uninstalled SQL and reinstalled it, but nothing seems to help. I feel I must be missing something, but do not know what. I no longer have the MSDE installation files, so I hope I can get Studio to talk to SQL Express. Any help is appreciated. Thank you very much for your answer. I used sqlcmd instead of osql, ...Show All

  • Internet Explorer Development IE7 Certificate Request/Enrollment

    With IE7, I've noticed the original ActiveX method of generating a client certificate request and installing the signed certificate no longer work (xenroll.dll calling CreatePKCS10() and acceptPKCS7()). How do you do this now with IE7. Vista customers with IE7 don't even have access to xenroll.dll. I have been unable to find much documentation on this change, only that the old way was replaced with "something new", but no details on what the something new is called. Any help would be greatly appreciated! Thanks, Andy Because Widnows vista Microsoft is not supporting Xenroll. For certificate enrollment the windows server uses xenroll active x control. But windows vista us ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. default pool never runs out of memory?

    My app reads in many GB of data, and I have my own cache system that manages raster and geometry data. I've been trying to use D3DPOOL_DEFAULT when creating VB/IBs textures, putting those interface pointers into an LRU cache, and touching a node whenever a resource gets selected into the device. When Create* returns D3DERR_OUTOFVIDEOMEMORY, I release the oldest few D3D resources in the LRU cache, then attempt the Create* operation again. The problem is that Create* never returns D3DERR_OUTOFVIDEOMEMORY, no matter how many resources I create. I have an X1950Pro 256MB on XP64 with current drivers, and I can create about 512MB of D3DPOOL_DEFAULT resources on the card with S_OK being returned every time. After the card's memory gets filled, th ...Show All

  • Visual Studio Express Editions Visual C++ 2005 express MFC

    Hello, i want to know if visual studio 2005 express have MFC, i ask because when a create a new proyect (Win32 Console Application) the option to add ATL and MFC common headre files are enables And how can i configure the program to add the MFC libraries in a executable 1) No - you cannot get a standalone MFC development kit 2) While you can try using the MFC header files and libraries from the earlier version of Visual C++ this is not a supported scenario and I do not guarantee that the code will even compile. If you need to use MFC with Visual C++ 2005 I would suggest getting a version of Visual C++ 2005 that includes MFC. ...Show All

  • Visual Studio Is there any MSBuild Interface available?

    Hi all, Has anybody had call MSBuild via api interface from win form application Currently, I'm able to call msbuild.exe from win form using process.start() method; however, I think it would be nice if I could call msbuild directly from api interface. Best Regards, Thanks all. I got it It should be Engine.GlobalProperties.SetProperty( "Configuration" , "Debug" ); ...Show All

  • Windows Forms Identifying COM components in a deployment project

    Hi, I am developing a deployment project in VS2005 in which there are several COM components also. I know the Register property of each COM component is to be set to vsdrfCOM but the problem is that how can i identify which file is a COM component and which one is not Any help,suggestion,link would be highly appreciated. Regards, Wasif Ehsan. If they are Win32 Dlls, get DependencyWalker from www.dependencywalker.com and run it on each Dll. You're looking for a DllRegisterServer function. However the people that build these components (is that you ) should know that they need registration and should tell you. ...Show All

  • .NET Development P/Invoke DeviceIOControl Failing depending on cdrom status

    Apologies if this should be in the c# forum. Hello, I am experimenting with some basic CDROM control using c# and calling deviceiocontrol. Calling the functions all works fine with one exception: If I send a test device ready command to the drive via SCSI_PASS_THROUGH_DIRECT (CDB of 00 00 00 00 00 00) it will fail upon the conditions of 1. a previously loaded disc is ejected or 2. a blank disc is in the drive. The call to deviceiocontrol itself fails, and Marshal.GetLastWin32Error returns error code 1117 - The request could not be performed because of an I/O device error. While in any other state the call works perfectly and how it should. Similar code I have seen in c++ does an identical thing yet the call to deviceiocontrol succeeds and ...Show All

  • SQL Server Random Number procedure problems!

    Hey Guys, I have a quick stored procedure question for you. I created a procedure that returns a randomly generated number. I know there is a built in Rand() function but I need to be able to specify the range. Anyways, it’s returning multiple numbers (1 for each row in the tempTable) But I just want one number returned. I tried using MAX( ) but that’s not a good way of doing it. My question is, how do I return just one record or number Thanks Fellas, Chris ALTER PROCEDURE dbo.spx_GetRandomNum AS DECLARE @Start_Num int DECLARE @End_Num int DECLARE @ReturnValue int DECLARE @RecNum int DECLARE @CurrentRe ...Show All

  • Visual Studio 2008 (Pre-release) There can be at most one address per scheme in this collection.

    When hosting my .svc in IIS, I get the following error: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. I know this is caused by sites that have multiple bindings. In my case, I am a web hoster and have sites with multiple host headers per site. Is there any way to override this behavior in web.config I've tried the following with no effect: <host> <baseAddresses> <clear/> <add baseAddress=" http://mydomain.com " /> </baseAddresses> </host> Any ideas for how to make this work without forcing my customers to modify their source Thanks, Mark I got the same pro ...Show All

©2008 Software Development Network