Joshie76's Q&A profile
Visual C++ I'm going to fall for the test
I need to write to a text file that has Unix linefeeds, but my Std C++-based console app is writing Dos linefeeds. For example, If I do something like: std::ofstream test( "test.txt" ); test << "Hello\nWorld" ; test.close(); The resulting file has \r\n in it (0x0d 0x0a when viewed with binary editor). The same thing occurs when I do fopen( "test.txt", "w") followed by fwrite, which sets the mode to text (the default).&nb ...Show All
SQL Server analysis service DTS keeps failing . ERRORSOURCE = DSO
i have an analysis services dts job on an old sql server 2000 box. i have never used analysis services before, and am a bit stuck. the job used to run and succeed all the time, but now it fails most of the time. this is the error that goes with the failure. someone suggested that its because more than 1 cube processing jobs were running at the same time, but i dont know how i would sort that out as they have to be run at the times they are s ...Show All
SQL Server graphics appears in false position.
Hello experts, I have fallowing problem in MS-Reporting Service: In the designsurface in V-Studio, i greate and adjust 2 graphics side by side. If i activate the preview in V-Studio or i copy the report on the server, the 2 graphics jump through the page. The side property are ok. A4 Format Where is the problem You can view the problem under following Link: www.schlempi.de/problemRS.pdf Thanks for your help!! my english is not the best, ...Show All
Windows Forms Designing a WinForms application.
Such an embarrasing question, but i've been working in ASP.NET for so long that i've lost grasp with Forms design architecture. I'm designing an application using WinForms 2.0. The screen for the application will keep the same structure throught the App. For example, a user will create a new customer. Then he might want to create a new employee, so will click the "employee" button. This won't fire up a new employee form, but will display the emp ...Show All
Visual Studio ReportServerCredentials in a WebApplication
Hi there, A similar thread on ReportServerCredentials was very enlightening however we still are not seeing our way through our problem. We have implemented Custom Authentication and we are using webforms, which requires us to manage a authcookie. Ideally we are looking for a simple sample that demonstrates our objectives. Let me know if you require more information. Cheers, Shaun ...Show All
Visual Basic getting text from one form to another
i know similar posts have been made based on this topic but i havent grasped this concept yet. i need to get text from my form2 to my form1. my program is my own version of a calendar and this is what i need to get my events put in the correct dates. The Date object is a numeric up down that selects the date of the event that is entered in a TextBox and I need the data in this box to go to the label Jan1 in form1, which is my problem, when an "O ...Show All
Visual Studio Express Editions Win32 Console Application template linker error
Hi, I followed the setup instructions for Visual C++ Express I installed the R2 windows server sdk I tried to build the Win32 Console Application template but I get ------ Build started: Project: Win32testapp, Configuration: Debug Win32 ------ Linking... Win32testapp.obj : error LNK2019: unresolved external symbol @_RTC_CheckStackVars@8 referenced in function _wWinMain@16 Win32testapp.obj : error LNK2019: unresolved external ...Show All
Visual C++ File open errors returned when trying to open a file for appending
I am trying to open a file for appending. ie. if the file exists, open it for appending, if not, create it. I am getting back a NULL pointer, and do not know why. Here is my code excerpt. It is a C file. FILE *pFile; char *cFileName; cFileName=argv[++i]; pFile = fopen(cFileName,"a"); cFileName has a valid filename ('apm.dbg'), and I have full write permissions in the directory. I can step into fopen and when the file is opened, ...Show All
Visual Studio VSS2005 + Exchange
Hi! On our exchange server i've installed VSS2005. I've configured VSS Internet, but everytime I try to access I get error Server Error in '/' Application. Nothing is wrong. This is by design. See these posts for more info: http://forums.microsoft.com/msdn/showpost.aspx postid=1130&siteid=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=120228&SiteID=1 Alin ...Show All
Visual Studio Why is interacting with Visual Studio so clumsy?
I recently downloaded the VS2005 SDK (formerly VSIP), and I was extremely disappointed by the whole thing. Why is it so difficult to build an add-in Why do I have to know about the different interfaces, and why can't I access strongly-typed property classes You guys should really take a look at Jamie Cansdale's ManagedAddin framework. It's so easy to use. You specify the menu navigation commands in a hierarchial XML format. You create stand-alo ...Show All
Windows Forms Manage the control element in a "unique" event
Hi. I have a mdi application in .net 2.0 wit vs2005. I have a question. is there a "elegant" method to enable/disable the menu and toolbar botton in function of the state of the form For example, if a user write in a listgrid, the application will enabled a particular button. I'am searching a unique event to manage this, similar the onUpdatecmd event in MFC application thanks I a ...Show All
SQL Server Drill-through report passing credentials
Is it possible to drill through to a report that does not have embeded credentials Every time I link from a report that requires a sql username and password to run to another report that requires the same permissions, I recieve an error message stating: "One or more data sources is missing credentials" Is there a way to make RS prompt the end user to re-enter credentials after drilling through to the next report, or to make the cred ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Direct3D render to desktop
hi all! How render 3d scene to desktop I could be wrong as I never have checked it by myself but as far as I know you can’t create a Direct3D device for a window that is owned by another process. ...Show All
Visual Basic Window Handles in .NET
In VB 6.0 I was used to getting a window handle by using API and doing what ever I needed to do with that window. In VB.NET and it's HUGE API list, what is the equivalent to doing this, or should we just continue to use WIN 32 API For instance I want from within VB app to get other applications windows handle and move it resize it etc. What is the normal way to do this in VB.NET Hey Phil. I w ...Show All
SQL Server More installation woes
We have releases a shrink wrapped winforms application that uses SQL Express as its backend. The product has a fairly large take up, and consequently it is being installed on a large numbre of different machines and configurations. We seem to be having quite a common problem with the installation of SQL Express, we launch the installation from our own installation package with the following command line SQLEXPR.EXE /qb ADDLOCAL=ALL SQLAU ...Show All
