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

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

shahrukh1

Member List

MBM_Mimo
c1t1z3n0
Sandrina
CaptainSmudge
Manivannan.D.Sekaran
mccpres
Jeroen Molenaar
Veera.c
RickGaribay.NET
DRoden
Jamie Thomson
Alexander Albornoz
nbrege
Mikepy
JungleMonkeyMike
Kish_UNI
b.p.
Synced23
Rohcky
Rich Hoffman
Only Title

shahrukh1's Q&A profile

  • .NET Development How do you run javascript and vbscript on the same asp.net page

    When I try I get Cannot use 'javascript' because another language has been specified earlier in this page (or was implied from a CodeFile attribute). As soon as i declare a new javascript block <script LANGUAGE="javascript" RUNAT="Server"> This implies that there is already a script file specified above. If the line you declared looks like the following, make sure that there is a </script> tag associated with the line. If the closing tag is missing it won't allow you to add another script with a different language. <script language="vbscript" src="vbs_client.htm"></script> ...Show All

  • SQL Server Linked Server GUI not working in SQL 2005 SP2

    According to the new features of Service Pack 2: "The Linked Servers node in Object Explorer now displays system catalogs and user database objects. As soon as the linked server is created, you can expand its node to show tables and views on the remote server." This works for all linked servers that are SQL Server based. But we have other linked servers that refer to a system DSN that links to Lotus Notes databases. When I try to expand the linked server to have a look at all the tables and views (as you can easily do in SQL 2000) I get the following error: "Cannot obtain the schema rowset "DBSCHEMA_CATALOGS" for OLE DB provider "SQL Server" for linked server "(null)". This is the ca ...Show All

  • Visual C# help plz: dynamic procedure

    ** Please see the code below.. I am using this code to populate data from SQL Server to combobox usng SqlDataReader but I have more than 10 combos to populate and I want to use the same procedure with all combos.. which means I will need to pass the combo object and field data.. can you please help... private void populate_id_type() { try { //ensure the box is cleared cboIDType.Items.Clear(); //Use the SQLServer provider.. //set up the connection and the command... sql_connection = new SqlConnection ( "server=localhost;uid=sa;pwd=;database=Sales" ); string strSQL = "SELECT FirstName + ' ' + LastName as Name FROM Customer" ; sql_command = new ...Show All

  • Software Development for Windows Vista Unable to load persistent Workflows into StateMachineTracking

    Hi Everybody, I am begineer in windows workflow foundation. I have made a simple workflow using the example provided in the OrderWorkFlowMachine (state machine workflow) . It contains 4 states. I made it persistent by using the SQLTrackingService I am able to get the values into the DB however Eventarguments like the OrderId are not being updated in the database I couldnt figure out a way for the following problems 1. I am not able to load the instances from the DB into the StateMachineTrackingInstances. when the application is started again. 2. i am unable to store the EventArguments into the database and get it back when the application starts any help would be greatly appreciated many thanks in advance Bala ...Show All

  • Smart Device Development XML Serialization

    ok so i have another question about XML Serialization on the smartphone. i am using Windows Mobile 5. on a desktop app i can put the [Serializable] tag above a class so it can be serialized. I am guessing that the Compact Framework has changed this a little because that tag didn't wor on my smartphone app. For my smartphone app i used the [XmlRoot()] tag above the class. I don't even know if this is the correct tag to use. The reason i think that it is is because i am able to serialize the class . but i can't deserialize it . here is the class that i am tring to serialize using XML namespace Timed_SMS { [XmlRoot()] public class StringSMSDateTime { //stuff } } here is the method that serializes a List of a class StringSMSDateTi ...Show All

  • Visual Studio Team System Task.xml type definition change from integer to double - process template

    I have modified the task.xml and added three new fields Field1, Field2 and Field3 all of them as integer type. Then uploaded the process template. Now I want to change the field type to double for all the three fields I mentioned above(Field1, Field2, Field3). At the time of uploading the template I'm getting the following errors. ---begin Exception entry--- Time: 2006-10-31 09:17:56Z Module: Work Item Tracking Exception Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionValidationException Exception Message: TF26038: Field type for Microsoft.VSTS.Common.EstimatePessimistic does not match the existing type. It was Integer, but now is Double. Stack Trace: at Microsoft.TeamFoundation.WorkItemTracking.Client.Pro ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to draw an arc between two points

    Im trying to make an application in C# to draw an Visio Drawing. The problem is that I dont know how to implement the ElipticalArc statement in the .vdx file. Is there a way to draw an eliptical arc between two points and thru a control point with direct3d Thanks for your answer. Do you know where to find an algorithm to draw an eliptical arc Maybe there is a book that brings up this subject ...Show All

  • Windows Forms how to add n number of controls at runtime?

    how to add n number of controls (say textbox or treeview, or tablelayoutpanel) at runtime i am using vs 2005, c#. thnx. Do in this way instead: private void button1_Click( object sender, EventArgs e)         {             Button [] btn = new Button [5];             for ( int i = 0; i < 5; i++)             {                 btn[ i ] = new Button ();             &nbs ...Show All

  • .NET Development Webservice: "The ASP.NET process identity does not have read permissions to the global assembly cache."

    I'm uncertain what the best forum is for this - I also posted this in the ASP forum. I am developing a distributed application with a client-side java calling a webservice serving a static binary database. The application works well with the VS2005 Development server on XP Pro SP2. However when I publish it to an IIS v5 environment, it fails with these errors.   3.)    .aspnet_wp.exe (PID: 3988) stopped unexpectedly 2.)  Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. Error: 0x80131902 1.) Failed to initialize the AppDomain:/LM/W3SVC/1/Root Exception: System.Configuration.ConfigurationErrorsException Message: Exception ...Show All

  • Visual Studio 2008 (Pre-release) Cache and Security

    Hi, I have read some posts about cache, proxy and ChannelFactory, but i don’t get a solution to cache the channels if i have to apply a membership user per call - If a use ClientBase, then i can not cache a client for every membership user. I have to cache a proxy for every user - Then, i implement a Manager to cache the ChannelFactory, then if i apply a credentials for every call... is it thread-safe to invoke the service with the credentials Thanks. Hi Pablo, I saw you are having problems with the number of open channels. Probably you can implement a token cache instead of a channel cache. You need to extend the ClientCredentials class in order to implement a token cache. I have impl ...Show All

  • Visual C++ Memory leaks during using dll functions

    Hi there, i am using memory management functions of a dll. All I have are the header files for this dll. So, when i use for example dll_alloc_picture(X) and then forgett to use dll_free_Picture(X) the normal CLR memory leak functions don't help. Does someone have a suggestion how to cope with that, and maybe someone could give me a hint to the state of the art software for solving such problems. Thx in advance A.Gallus There are some tools like Numega Dev Partner Studio and Intel vTune Performance Analysers dealing with profiling stuffs. ...Show All

  • Visual Studio Whats does Details Grouping do?

    I understand the normal grouping works. But I'm a bit confused about when you would press the Details Grouping button, and what it does. Anyone got a useful link Or even explain here. Thanks Vayse See "Summary only table" on this page: http://www.gotreportviewer.com/tables/index.html ...Show All

  • Visual C++ [c++] array related problem (and wrong loop use)

    Hello, I have an mage black and white with 256 values of grey. The image is 256*256 therefore it will have 65 536 greyvalues in total, however its only 256 differents values of grey, so it should be store in one single array, lets say called "holdTheColourGrey [256].... where holdTheColourGrey[0] is the pixel totally black, holdTheColourGrey[1] is the pixel a bit less black... until holdTheColourGrey[255] is the white pixel. THe value inside that holdTheColourGrey[0] is the number of times this pixels exist, example if the image is totally black I should have 65 356 in that case!!! Get it Now im using visual c++ and that code that bugs: int histoArray[256]; int sumpixels; int a,b,i; //just counter va ...Show All

  • Visual Basic Problem Converting VB6 to .NET

    Hi, i used the Visual Studio Upgrade Wizard to convert my existing VB6 code to .NET but still lots of "upgrade warning" appeared after the convertion. especially during the convertiong of Array to Object . These are part of my codes, may i know how should i modify it I haven't tested this, but try this: Public Function StrSplit( ByVal Text As String , _ ByVal SplitOn As String , _ Optional ByVal Compare As Microsoft.VisualBasic.CompareMethod = CompareMethod.Binary) As Object Dim List As Object , Pos As Long , SplitOnLength As Long Dim Count As Integer List = New Object () {} SplitOnLength = Len(SplitOn) Do Pos = InStr(1, Text, SplitO ...Show All

  • Gadgets xmlHttpRequest on Vista Home

    I have utilized xmlhttp on many occasions to power ajax enabled projects and have never had a problem with it until now. The following javascript code is debugged and runs flawlessly in IE7, but does not work when installed as a gadget. Is there something in here that gadgets do not support but IE7 does function GetXmlHttpObject(handler) { var objXmlHttp=null; var strName="Microsoft.XMLHTTP"; try { objXmlHttp=new ActiveXObject(strName); objXmlHttp.onreadystatechange=handler; return objXmlHttp; } catch(e) { alert("Error. Scripting for ActiveX might be disabled"); return; } } function showDisplay() { var url=" http://www.ourwebsite.com/phpscript.php variable=one"; xmlHttp=GetXmlH ...Show All

©2008 Software Development Network