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

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

92869

Member List

alok yadav
Benedikt
Deepthi Rao
DamijanD
SW_skeets
i7hira7
Maartin
Douglas Penna
S Carter
Manash
Hatkesh
sascue
mbaclawski
Anthony McGary
RELJR
AdriaanDavel
canuck81
DiamonDogX
Vinodonly
dr.acv
Only Title

92869's Q&A profile

  • SQL Server Reading SQL data

    I posted this in the Windows Forms Data Binding section, and they directed me to the .Net data section.  I posted it there and waited a week with no replies.  I'm hoping someone here can at least give me an idea of what the problem might be. I have VS 2003.  I'm using VB.NET to connect to a SQL Server 2000 database.  When I fill the dataset, I only get 1 record returned. I went thru the walkthrough in the Samples, and the connection to the Pubs database works fine.  I did the same thing to a live database, and only get the one record returned, no matter what table I try to read. The only difference I can see is that in the Pubs database, the author_id field has a data type of ID (VARCHAR).  My live data ...Show All

  • Visual Studio Express Editions NEW to prgramming/VBE

    OK I'm having a hard time trying to get a program together, I thought I was clever enough to cut and paste here and there and to get the thing done. Well, I'm clever enough to see that I can do it, all the books and articles I've found aren't of much help, because I'm starting from scratch, don't care about the web and I have loads of string manipulations to do, basically I'm trying to build a custom log_files interpreter. So here is the questions: Were can I find decent documentation/books that I can source, document myself and get going THX to all that can answer or provide guidance PAOLO what I mean by string manipulation is more that I need to assign an arrylist and be ...Show All

  • Windows Forms Windows Application by C# VS 2005 !!!

    Hello, I have a bindingNavigator in my application, which I added a Save Button on it. What should i write in this Button's Click Event to save inserted, edited, and deleted records. I have a field that for some reason I make it null at runtime. When I'm going to save the changes on the screen, I use EndEdit() method, but as soon as use this method, it turns the value of that field from null to 1. Does anybody have any idea about this weird action !!!!!!!!!!!!!!! Is C# a good tool for developing Windows Applications !!!!!!!!!!!!! Thanks in advance. Hi, Well, this sure is funny. Ok, what I would do next, I'd create event handlers for the DataTable.RowChanged and DataTable.TableNewRo ...Show All

  • Visual C# UnauthorizedAccessException during writing XML file from a DataSet object

    Hai, I am using .net 2.0 frame work with WIN 2000 Server, the following error occured while trying to convert & write XML document from DataSet obj. ERROR: Access to the path "C:\WINNT\system32\Cusromers.xml" is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.UnauthorizedAccessException: Access to the path "C:\WINNT\system32\Cusromers.xml" is denied. The ASP.NET process is not authorized to access the requested resource. For security reasons the default ASP.NET process identity is '{machinename}\ASPNET', which has limited ...Show All

  • SQL Server Users and his roles

    How to generate script which can move users with his roles from one DB to another (SQL 2005) 1. open sql management studio 2. connect to the server 3. expand the databases 4. right click the database 5. choose task>generate scripts 6. generate scripts wizard appears. click next 7.choose the database 8. in the options set "script database login" to true 9. click next> choose user 10. check the login you wish to script ...Show All

  • SQL Server Not associated with trusted sql server connection

    Hi All... I'm using asp.net 2.0 against a SQL Server 2005 database and am getting an error, Login failed for user 'MyUser'. The user is not associated with a trusted SQL Server connection. I've done searches for this error and most say to switch from windows-only authentication to mixed mode. That seems more like a workaround rather than a solution. I mean we should be able to use windows-only right So how does one set up that user to be associated with a trusted connection The odd thing in my setup is that I'm using the exact same username and password as I'm using to connect to the database with Visual Studio 2005 and that works fine. But when I try the same acct/pwd from asp.net, I get that error. FWIW, here's my connection ...Show All

  • SQL Server alter databse TestDB set TRUSTWORTHY on fails

    Hi all, When I try to execute the following command: alter databse TestDB set TRUSTWORTHY on I get this error: Msg 102, Level 15, State 1, Line 1 Incorrect syntax near 'databse'. Msg 195, Level 15, State 5, Line 1 'TRUSTWORTHY' is not a recognized SET option. Can someone tell me why Thanks in advance.   sobo1 wrote: Hi all, When I try to execute the following command: alter databse TestDB set TRUSTWORTHY on I get this error: Msg 102, Level 15, State 1, Line 1 Incorrect syntax near 'databse'. Msg 195, Level 15, State 5, Line 1 'TRUSTWORTHY' is not a recognized SET option. Can someone tell me why Thanks in advance. oh... god it i ...Show All

  • .NET Development errors adding a web service with sockets to a C++ project

    Hi everyone, I have a web service which communicates via TCP to a C# program. When I invoke it's methods through a browser, they work fine and can communicate perfectly with the C# program. However, when I attempt to add the web service to a C++ MFC DLL I've created, I get multiple warnings, but with only 2 unique: 1) Warning 3 warning SDL4008 : skipping unrecognized extensibility element, with c:\Documents and Settings\*******\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 84 2) Warning 9 warning SDL4001 : only one SOAP port will be processed. c:\Documents and Settings\cpappas\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 104 I am assuming it is because the web service opens a s ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Calculating vertex normals

    Hello there, I've been playing around with drawing primitives in XNA, and I've found it difficult to light my own meshes. I've tried using a BasicEffect with default lightning, but that doesn't work because I don't have any vertex normals. I need some more information on vertex normals because I'm having a little trouble understanding the difference from face normals. I just can't seem to get the normal calculations straight. I've used a custom vertex format called VertexPositionNormalColor that has normal information. Then, I've created a simple quad with 4 vertices and 6 indices to render it: // Init vertexList VertexPositionNormalColor [] vertexList = new VertexPositionNormalColor [4]; // Create vertices vertexL ...Show All

  • SQL Server the subscription has been marked inactive

    hi all, i have a snapshot replication running on multiple publisher singel subscriber running on sql2k. i'm frequently encountering these error. the subscription has been marked inactive and must be reinitialized. no synch i've set the subcription to never expire in the publications property tab. thanks You can also refer to SQL Server Books Online topic: " Subscription Expiration and Deactivation" available at: Local SQL Server machine: ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/rpldata9/html/4d03f5ab-e721-4f56-aebc-60f6a56c1e07.htm Or MSDN Online: http://msdn2.microsoft.com/en-us/library/ms151188.aspx Thanks, Zhiqiang Feng This posting is provided "AS IS" with no warranties, and ...Show All

  • Smart Device Development CF 2.0 installation on a Mobile 5 device - Persist clean cold boot

    Hi, I was wondering if a Windows Mobile 5.0 device would persist the installation of the Compact Framework version 2.0 after performing a clean cold boot I have read another post on this forum that, by default, version 1.0 of the compact framework is installed on a Windows Mobile 5.0 device, however, if I do perform a clean cold boot, then the installation of the CF 2.0 that I have done is persisted. I might be answering my own question but it would be nice to have some clarification. Thanks for your time. Paul Diston Hi, So if the installation is not persisted then by default the device would have Compact Framework 2.0 installed I have run the cgacutil.exe from the Windows dire ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to apply an effect to a mesh rendering?

    I'm using the Model object that comes with the XNA framework and have a loaded mesh from 3dsmax rendering on the screen. My question is, how can I apply a pixel shaders to materials on the mesh when rendering For example, the engine of the craft I am rendering is a separate material and I want to apply a glow shader just to the engine. I know which sub-material it is but don't know how to set the pixel shader to be used in the mesh.Draw() function Any help would be appreicated. Thanks! Ok, I'm setting the effect now but how do I get it to render I set it by: foreach (ModelMesh mesh in myModel[1].Meshes) { for (int i = 0; i < mesh.MeshParts.Count; i++) { mesh.MeshParts .Effect = contentman.Load<Effec ...Show All

  • Visual C++ Hello World code compiles succesfully but doesn't run

    I will apreciate if you can help me with my following trouble as I'm trying to find a solution for the last 2-3 days. I've got a simple hello world code (see below) and I'm trying to build an executable. For compiling and linking I'm using "cl -GX hellow.cpp" and the operation completes succesfully without errors. hellow.cpp: #include <iostream> using namespace std; int main() { cout << "hello world\n" ; return 0; } However, when I execute the derived executable the "hello world" text isn't displayed. Any clues why Note: I'm using Visual Studion 2003 .NET and the compiler is ver. 13.10.3077 for 80x86. Also, I've tested the code on another PC with the same software and works like a swe ...Show All

  • SQL Server SQLExpress problem with multiple connections

    I have a SQLExpress Database that I can connect to from a C# application and seperately from an application via 'OBDC' with NO problems. Both applications are running on the Local PC running XPpro. However, I cannot connect to the same database from both applications at the same time! Is there a way around this , is it a restriction of the Express version Hi, no there isn’t. Which error do you get Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual C++ Problem of ActiveX

    When I am trying to call an ActiveX's method in my MFC application, it displays a dialog on the top of my application properly. But before it ends, the OS displays a dialog, which says "Another application is running, switch to ...". If I try to switch to others, everything is OK, my application continues to run. Could you tell me how I can avoid displaying the annoying dialog Why Thanks in advance. Depens on the IMessageFilter that is used. If the application waits forever than such a dialog will not appear. Afaik the defualt settings in an MFC application is 3 seconds after no response. Maybe VB disables its main window automagically. ...Show All

©2008 Software Development Network