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

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

laja

Member List

wencey
mac85
SucceedEgg
mrshrinkray
dzimmy
wildthink
Andrew J
E Jensen
Saibal Goswami
Hilton Goldstein
killfr0g
Chris Crowe
geliser131
KitGreen
Tanmaya
Tarek Ghazali
hafi23
jh0483
ctssoms
mariso
Only Title

laja's Q&A profile

  • Visual C++ Printing to memory

    I need to put the data which is sent to a printer into a memory buffer. It is quite easy to print to a file using the printing functions of the platform SDK. It's enough to specify the file name in the DOCINFO structure before using it with the StartDoc function. Therefore, I can print to disk file and read this file copying the data to my buffer. That's what I do until now. But, I wish to save time and disk accesses and I do not need to have a temp file on my disk. Does anybody know the way to send directly the printer data to the memory Take a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=850480&SiteID=1 OTP Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual Basic ociEnvCreate failed with return code

    Hi I am new to VB.net windows application i am using VS2005 and oracle client for database connection i am getting this error when i run the application " ociEnvCreate failed with return code - 1 but error message text was not availabe " can anyone help me plz Thanks in advance Hi my deployment machine has oracle client i have to write try/catch in all the method(connecting database) in my application to write the calling procedure name in error log i am new to dot net. can give me sample code to do this Thanks ...Show All

  • SQL Server Unable to run a report after deployed in a remote server

    Hi All, I encountered the following error after I deployed a report to a remote server. The deployment process was successful, however, when I try to run the reports from the remote report server, It gives me an error message saying: An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'SessionOLAP'. (rsErrorOpeningConnection) For more information about this error navigate to the report server on the local server machine, or enable remote errors On the other hand, I deployed this report on the local machine and it is running perfect. Do you have any idea how to deal with this problem Thanks! Even if I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D Stereo support

    1. Will D3D10 feature native driver/runtime support for stereoscopic 3D, including application control over stero separation and convergence similar to Nvidia's IStereoAPI 2. Will DirectX SDK include guidelines for stereo compatibility, like those in NVIDIA GPU Programming Guide (Chapter 9. Stereoscopic Game Development) 1. Stereo support is not part of the Direct3D 10 API. But nVidia could provide support in the same way as they do it at the moment. 2. As it is not supported there will be no documentation. ...Show All

  • SQL Server HTML String Rendering in a Report

    We have a "Comment" field that is saved as a HTML string to the DB. This field needs to be pulled into a report as rendered HTML. I know this has been hashed out before, but has anybody found a good solution in the past couple of months We are thinking about storing two versions of the Comment in the DB: one with HTML, one as simple text. Has anybody found this an acceptable solution I know it flies in the face of good DB design, but it seems the quickest, easiest solution... Any word if this will be fixed in the next major release of SSRS Can we expect this release any time soon Thanks for looking, Smith Hi Luis, Do you mean you can display HTML in SQL Report Services using ...Show All

  • Windows Search Technologies Unable to cast COM object of type

    Hello, I tried to a function wrapper for my website which calls ExecuteQuery(...). I got this error when I tried to display the output from the internet browser: Unable to cast COM object of type 'Microsoft.Windows.DesktopSearch.Query.SearchDesktopClass' to interface type 'Microsoft.Windows.DesktopSearch.Query.ISearchDesktop'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{A227843C-1D92-48BC-AED6-DCA566F1790E}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). Any hint Fokus Any word on when this will be done so I can use it in a console app Word came down from "on high" yesterday that we have to st ...Show All

  • .NET Development NetworkStream.Write/.BeginWrite do not seem to be working

    Hi, I am having a problem with a simple app I am trying to write to send data over TCP/IP to a server/listener. According to all of the documentation and code samples I have seen, my code is correct, but the server/listener (which I can observe on the same machine) does not receive any data. I can see that I am making a socket connection, and no exceptions are thrown when I call either .Write or .BeginWrite (I've tried it both ways -- the callback does fire when using BeginWrite, and asynchresult.Completed comes back True), but the server does not get anything. What am I doing wrong here I connect using this method: Public Function ConnectToServer() As Boolean ' make connection to remote server/listener If CheckC ...Show All

  • SQL Server Package Validation Error

    I have a package which takes a text file and imports data into a SQL table. It returns the Package Validation Error: Error at Data Flow Task [SQL Server Destination [1430]]: Failure inserting into the read-only column "ZipCode". The column ZipCode in the sql table is a varchar(50) column. I do not understand why it thinks the column is a read only column; if someone could shed some light on this I would greatly appreciate it. Thanks! GN Okay I've confirmed that it is a permission error. When I use my login, which has sysadmin privleges, for the database connection there is no problem inserting into the table fields. When I use another login that does not have sysadmin privleg ...Show All

  • Visual Studio Express Editions IDE Issue

    I'm coding in unmanaged code. And the intellisense is bad for unmanaged c++. I have to close the project and open it up over and over to get the intellisense to work for like 2 times then it dies ;_;. How can I fix this issue It's not dead, you ran into the infamous performance problems with intelliSense. Wait a few hours for it to finish building its database for your current project (which it will repeat whenever you add another library, and for each project separately). ...Show All

  • SQL Server Database 'msdb' cannot be opened

    Anyone help I opened SQL Server management studio and tried to connect with the local database and received the error message: Database 'msdb' cannot be opened. It has been marked suspect..... I have pasted the only error from the event log I could find below, but it doesn't mean much to me. In the event I can't find what the problem is, and not being a database administrator, can anyone tell me what I can do to get back in working order without messing up all the databases in my SQL Server 2005. I'm afraid I only have a MASTER backup from several months ago, and am afraid if I use this, I will loose the latest data. I'm a novice, and do not understand the relationship of the master/msdb/model databases to my core custom databa ...Show All

  • .NET Development HttpListener BeginGetContext does not seem to handle more than 2 request simultaneously

    Hi Friends, I'm trying to host a webservice that will receive/process multiple client requests simultaneously. For this purpose, I wrote the following code, but it does not seem to be handling more than two at a time. I put in a few console prints and have also attached the output. Here it goes - public void serverStart() { HttpListener _listener = new HttpListener(); _listener.Prefixes.Add(.......); _listener.Start(); while (true) ProcessRequest(); } public void ProcessRequest() { Console.WriteLine("PR " + ++count); //count initialized to 0 in beginning IAsyncResult result = _listener.BeginGetContext(new AsyncCallback ListenerCallback),this._listener); result.AsyncWaitHand ...Show All

  • SQL Server matrix data area conditional formatting off max value

    I have a matrix where i'm trying to have the report select the maximum value in the data area (not including the subtotals) and bold that value. month day1 day2 day3 day4 total Jan 10 15 5 12 42 Feb 5 8 3 11 27 Total 15 23 8 23 69 I'm sure i will have to use the IIF function in conjunction with the InScope function. However i'm unsure on how to isolate to the max value and make sure the Inscope function does not affect the totals. any idea's are appreciated. Instead of using "......., IIf(Max(Fields!FACT_CUT_RELEASE_Count.Value), "Bold" , "Normal" )," you need to specify the scope over which yo ...Show All

  • SQL Server import flat file

    I am trying to import a flat file using SQL Server Management Studio and am receiveing the error: Error 0xc0202055: Data Flow Task: The column delimiter for column "Column 19" was not found. (SQL Server Import and Export Wizard) I would like to capture the rows that are causing the error and have the import continue. Am I able to edit the behavior somehow Thanks. Hi, thanks for your reply. I don't think I'm looking in the right place - can you tell me exactly how you're getting to the error output page. Thanks so much. ...Show All

  • Visual C++ error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRTD.lib

    Hello, I am pretty new on VC ++ 2005. I use VC++ 2005 and created a Win32 console application. I got the error messages: Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRTD.lib Error 2 fatal error LNK1120: 1 unresolved externals C:\C++ Projects\ImageStore\Debug\ImageStore.exe 1 Here is the code. Thanks in advance! //Imagestore.cpp #using #using using namespace System; using namespace System::Collections::Generic; using namespace System::Text; using namespace System::Data; using namespace System::Data::SqlClient; using namespace System::IO; namespace ImageStore { private ref class Class1 { public: static int Main(array ^args) { int errorCode = 0; Class1 ^oMain = gcnew Cl ...Show All

  • Visual C# Keyboard Shortcuts

    How do setup keyboard shortcuts on my application Say that I wanted a user to be able to press "Ctrl + S" and have it open the "Save Web page Dialog"... How would I do that Thanks much! Landon Just check this out How to capture shortcut keys in Visual Studio .NET ...Show All

©2008 Software Development Network