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

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

paramhans

Member List

illmatic45
Chand Basha
Ramniklal25
agjevik
amaly0827
leifw
Auschunky
Sadagopan Rajaram - MSFT
solution dll
ggunn
Mike Pelton
ChadSumerian
Charl Herholdt
dlj2007
Queen
krv5
OlgaYev
gul007
Ron Walker
Tejas Shah
Only Title

paramhans's Q&A profile

  • .NET Development VERY slow binary serialization of strings coming from SQL

    Please help! This is probably the weirdest issue I've ever encountered. I'm trying, in C#, to binary serialize an array of strings that come from a SQL Server 2000 database.  Problem is, this takes orders of magnitude longer than if the strings don't come from the database. The EXACT same 35000-length array of strings takes 0.1 seconds to serialize if the strings don't come from the database, and 40(!) seconds to serialize if they do. So for instance: ...     SqlConnection conn = new SqlConnection("...");     //In my database, this will return 34769 rows     SqlCommand comm = new SqlComm ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. using Microsoft.Samples.DirectX.UtilityToolkit

    I just started working again on a game I had been writing and abandoned for quite a while. I have managed to get it working with the latest release of the SDK but now I have run into a problem trying to add a new UI. Im am trying to add some of the the controls from the customUI tutorial that came with the SDK . I added "using Microsoft.Samples.DirectX.UtilityToolkit;" to my code but of course the compiler didn't reconize Microsoft.Samples... After some googling I realized I had to include the files from "Microsoft DirectX 9.0 SDK (October 2005)\Samples\Managed\Common" in my project. the problem is when I do this and try to compile I ge ...Show All

  • Visual Basic How to work with iis from my application?

    How to work with iis from my application How to add/delete websites How to set home directoryes How to set the framework version This kind of stuff. Should is use vb scripts   There is an entire forum to ask these questions at http://www.asp.net/ Good luck   ! :) ...Show All

  • Visual Studio 2008 (Pre-release) SecurityException while Displaying image using BitmapImage in web browser application

    Hi I'm trying to display image using BitMapImage in a Avalon web browser application. I used the following code. BitmapImage bi = new BitmapImage (); bi.BeginInit(); bi.UriSource = new Uri ( "C:\\Sample\\images\\thumbnail05.gif" , UriKind .RelativeOrAbsolute); bi.EndInit(); // Set image source imgBaseProduct.Source = bi; In the xaml I have the following code. < Image HorizontalAlignment = " Center " VerticalAlignment = " Center " Height = " 85 " Width = " 90 " Name = " imgBaseProduct " ></ Image > This gives an error.( a security exception which goes like  The action that failed was: Demand T ...Show All

  • Windows Forms Clickonce fails to install from a web site

    Can any one help with ClickOnce VB2005 install problem I've published my app to a website using clickonce, when the users try and install my app they can navigate to the website and the page is displayed, but when the install button is selected the myapp.application file is just displayed in the browser as an XML page and the app is not installed. If the .net fromwork is not installed on the pc, this gets installed first ok then the xml is displayed. Any ideas what is going wrong Did you rebuild and republish the project If you did, did you try to delete the old publishing directory from yo ...Show All

  • Visual C# load an image based on a provided filepath in the report at runtime.

    Hi I have to program in C# such that I have to add a button to the form , and create a crystal report, by getting source from the xml schema file(.xsd file) with two fields namely name,image..... name is string datatype and image is of datatype base64Binary. Now i have to add a crystal report viewer to the form and whenthe program is run, we should be able to load any image ,ie, by clicking the button add any image from the disk and that image should be displayed in the report in  image column...... so wht i have to do is -create a dataset that supports images -create a report that support this dataset -load data in the dataset -use t ...Show All

  • Visual C++ C++/CLI String Arrays

    Hi, I am trying to learn the C++/CLI syntax. Right now I am wondering about the proper way to declare an array of String. I am using this, array<String^>^ testArray; Is that the correct way Also, is there any C++/CLI examples, somewhere I know the general scenario is that there are more VB, C# software engineers around, supposedly. From where I am at, I personnally know and work with about 50 software engineers, all use C, most use C++, maybe 3 use VB, one Java, and nobody uses C#. Jeff See http://www.codeproject.com/managedcpp/cppcliarrays.asp Hooper wrote: Hi ...Show All

  • Visual Studio Express Editions Newbie, SILLY question SQL/VB Form

    Ok....so I'm REALLY, REALLY new to programming.... I'm creating an app, and I've got a SQL db built for it....but in one column, I have to specify days of the week...It doesn't matter if I use list boxes or check boxes on my form, I get a "CallinDays Column does not allow NULLS" error whenever I attempt to save my data. How do I format that column in SQL (I'm using VBExpress 2005) to make it take the data from the list box and save the data You need to pass a value based on the selected item/checkbox. This probably means having to write code to create the SQL, instead of using the automagic stu ...Show All

  • .NET Development Multiple selection on dropdownlist???

    Hi! I would like to know if it's possible to select multiple values on a dropdownlist. I've already seen something that looks like a checkboxlist in a dropdownlist, I mean, at first it looks like a dropdownlist, and when you click the button, it appears a checkboxlist, where you can select as many values as you want. How can I do something like this Thank you! Hi, You must write your own control... the DropDownList which is found in the System.Web.UI.Controls will render a <select><option...><option...></select> HTML code and have no chance to add checkb ...Show All

  • Visual C++ NET and mfc

    how can i use the forms made in net and use it in mfc programs Yes: Windows Forms/MFC Programming Differences Hosting a Windows Form User Control in an MFC Dialog Box Hosting a Windows Form User Control as an MFC View Hosting a Windows Form User Control as an MFC Dialog Box Blog by Yves Dolce: MFC 8 (VC++ 2005) and Windows Forms MFC and WinForms Integration ...Show All

  • SQL Server Error 7373 in Linked Server

    I have created a new linked server entry and when I try to use it, I get the Error 7373 message. I am rather new to SQLServer, so I would be happy with any help I can get. Thanks, DGB Which sql server version, and which ole db provider (and what is your backend data source) are you using The 7373 error code may suggest some errors in the ole db provider itself. If you are familiar with profiler, you can start the profiler and collect oledb trace events to get more insights into the problem. ...Show All

  • Windows Forms Docking & anchoring two windows

    I have a form where there is a gorup having some radio buttons at top. Below it there are two multiline text boxes side by side. I want to dock these text boxes in suck a way that if user change size of window, size of both text boxes will change accordingly and in same proportion. Could any one have an idea to how to do it. Ok, so your form is little more complex... Try this: 1. Put the GroupBox on the form along with its contents. Set the height of the GroupBox to the height that you prefer. 2. Put the SplitContainer on the form 2. Put the textboxes on the left and right panel 3. Dock both of the textboxes to full 4. ...Show All

  • Visual Basic Using and deploying DLL files without having to register it under Windows : is it possible ?

    Hello everybody. I'm a new member of this forum and I ealready have an imoprtant question. I wanna know if it's possible to create and deploy under Visual Studio 6.0 (VB6) or .NET (7.0 or 7.1) library files (dll) that I could use without registering it.... The goal is to be able to run any application using this library whatever the access rights to the register base of Windows... Thank you for your supports !!! Thank you Ken for your answer. I thought the vb.net dll were automatically registered while their building under MS VS7.1. The further matter on this subject is that I can't add a reference to these vb.net dll ...Show All

  • Visual C# Cannot implicitly convert type 'int' to 'bool'

    Hello everyone, I am a complete novice so sorry if I've broken any etiquette rules and for asking such a basic question. Basically I want to return the index of a string I'm searching for. I then use .replace() to apply some rules depending on whether it is at the beginning of the word or in the middle. If it doesn't appear then I leave the text as is. Everything is ok if it appears in the word or not at all but I thought that if the string would appear at the beginning then the index would be 0 So I check else if (intLocation = 0) { GeneratedText = GeneratedText.Replace( "γχ" , "g" ); } Sourc ...Show All

  • Visual Studio 2008 (Pre-release) Simple element Drag'n Drop example in WBA

    Is there a simple UI element drag'n drop example for WBA Regards Ranj Yes, you are absolutely right, my response was incomplete, it was only in the context of Unni's sample. This is the link to the Peter Blois's sample: http://blois.us/blog/2005/12/stupid-listbox-tricks.html ...Show All

©2008 Software Development Network