codepoetg's Q&A profile
Visual C++ Compiling Lib
Hello there, There is a library program that I am trying to compile using VC++ version 6. Followed this instructions: "Here's step-by-step instruction posted by one of the list subscribers: good luck >>> Subject: FW: [Quantlib-users] Installing QuantLib using Dev-C++ 4.9.9.2: WORKING From: "xxxxxx" <xxxxxx> Add to Address Book To: quantlib-users@lists.sourceforge.net Date: Wed, 13 Jul 2005 12:12:41 +0800 (...some phrases snipped) I got QuantLib to work using Dev-C++ 4.9.9.2 as follows: (1) Install Dev-Cpp-4.9.9.2 into a folder of the same name. (2) Copy the Boost library folder "\boost" into ...Show All
Audio and Video Development MF_ProtectedPlayback Sample doesn't work for Video on Vista Beta 2:
1. Installed Vista Beta 2; 2. Installed Vista Beta 2 SDK; 3. Build MF_ProtectedPlayback Sample from provided samples; When starting both Release and/or Debug versions of MF_ProtectedPlayback Sample with both Adminitrative and not-Administrative priv. as well as with DRM and not-DRM Video content => getting complain in the form of 3 Message Boxes: "Windows -- Bad Image: X is either not designed to run on Windows or it contains an error...." Followed by the crash... Works fine for DRM/not-DRM Audio Files... My guess: Video is not implemented yet Are you able to play ...Show All
Visual C# Passing a string from a C# program to a Win32 C++ dll?
I week or so ago a few of us on this forum were trying to figure out some problems with using functions within a C# program that were made in a C++ dll, and thanks to some very helpful guys here, we were able to figure it out. However, I am now having a problem trying to pass a string from my C# program into my Win32 dll function. I have tried everything that I can think of, but since I am not all that adept at C# programming, I haven't come up with the answer. In fact, I can't seem to even properly pass a simple char , however int s and long s work fine. I'm hoping that due to my inexperience with C# that one of you C# experts will point ...Show All
Visual C# Identity Expected error?
Hi, I am new to .NET development and received the error Identity Expected today while doing some work. I don't know what would have caused this error can you help Thanks, Can you give a little more detail on when this happened E.g., was this a build error (and if so, paste the whole error if possible), or a runtime error The more details you provide the better. Thanks, Josh Lindenmuth ...Show All
Visual Studio Express Editions How do I get different colors of text in a RichTextBox?
How do I get the following to display "Light Blue" in light blue letters and "Black" in black type RichTextBox1.Text ="Light Blue " & "Black" richtextbox1.selectionstart = len(richtextbox1.text) richtextbox1.selectioncolor = color.whatever richtextbox1.selectiontext = "Light Blue" & vbcrlf richtextbox1.selectioncolor = color.whatever richtextbox1.selectiontext = "Black" & vbcrlf ...Show All
Visual Basic I need help with Printing
Ok, I am making a program for a this small bussness I work for. Now they wanted me to set up a database for our products serial-numbers and a front end program for it. Now on top of the program they want me to make they also want hardcopies of each serial number entered, including all the info that goes along with it. Now I have been hunting all over for information to make it so I can just print the MDI child form as is. Well all I could find was tutorials that just give 2 sentances explantion and then give a mess load of code and that does help me. I need a good detailed toturial to work through so i can learn ...Show All
SQL Server Management Studio SQLCMD default
Is anyone else unable to keep the "By default, open new queries in SQLCMD mode" setting after restarting Management Studio. If I check that box (under Tools -> Options -> Query Execution) it works for new query windows opened during that session, but the next time I start up MS, the box is unchecked again. This is the September CTP by the way. Thanks, Chris ...Show All
Windows Forms Auto-expanding TextBox?
Hi, Am I mistaken or is there no automatic way of getting a multiline TextBox to grow as the number of lines in it increases and when the form is resized I'd think something like this would be standard in a mature UI framework like WinForms Many thanks, Jiten There is no built in way to automatically grow the number of lines in a TextBox as you enter more and more text into it. Instead, make sure you have scroll bar support setup. When you’ve got the MultiLine property set to true, also set ScrollBars property to Vertical. As for growing the TextBox when the form is resized, change the TextBo ...Show All
Visual Studio Express Editions How do I add a Real Time Clock to my Application?
I am very much a newb to VB but want to get started on an Alarm Clock program, I have viewed the first 6 videos here http://msdn.microsoft.com/vstudio/express/vb/learning/default.aspx So thats about as fars as my knowledge goes. I havent been able to find a Clock controll to add to my project, so how do I add a Real Time Clock to my project so that I can perform different functions based on what time it is Add a timer control to your form, in the toolbox under "Components", which fires at least once a second, or whenever you want your clock to update. Then you can find out the current tim ...Show All
Visual Studio Tools for Office excel bugs
excel bugs hey guys, i thought this arcle may be of interest to you all... with office suite being very popular and all that Hi Arcon5, I'm sure a lot of the VSTO forum readers are interested in hearing all kinds of information concerning the Office products however it is helpful to remember that this forum is mainly for issues that directly pertain to the Visual Studio Tools for Office tools per se. -= Maarten =- ...Show All
Software Development for Windows Vista workflow versioning question
We all have the experience to change the application after it went to production. When WF targets to solve long-run type of business process, the question is while I still have several work instances persisted and now I need to update the flow for a new requirement, whether these persisted instance will be affected. While I guess the answer is sort of yes( I recall someone here answered that if the modified activity has been passed , then no impact, otherwise yes), I'm still looking for some suggestions, for instance, xoml/dll versioning. Besides, if the new version added/deleted some variables, I'm wondering if WF can deserialize the ...Show All
SQL Server How to change a field's type?
Hi, How could I change the field type through T-SQL I have tried Using the ALTER: ALTER TABLE tblName ALTER COLUMN myID int It didn't work... And also, how could you rename a fieldname cheers, Paul June A. Domag Hi, Sad to say, it didn't work. I searched the BOL of SQLServerCE and the IDENTITY_INSERT switch isn't available. Guess, I'll have to find other means to solve this problem... Thanks a lot Tyler Free and Eisa for your ideas and comments... cheers, Paul June A. Domag ...Show All
SQL Server Programmatically developing an entire package..
Hi all, I am trying to write a program that creates packages on the fly depending on the variables you pass. for eg. It should create connection managers on the fly specific to a certain file in the variable (eg. sample.csv). the package has a dataflow task and it has flat file source and oledb destination.The problem I am facing is the flat file source when assigned to a flat file connection manager(dynamically), it is not giving any source output columns. i.e, the value for DFSource.OutputCollection(0).OutputColumnCollection.Count is Zero. But when I use the same code and reverse the source and destination(oledb as source and flatfil ...Show All
.NET Development SOAP Exception, xml key problem
Hi Guys, I am running a remoting service written in C#.NET and it is in production. It is all working good but one of the functions throws a parse error: Scenario: ItemInfo[] itemInfo = new ItemInfo[1]; Function to call remotly: ItemInfo[] DescribeItems(...., .....); Actual call: itemInfo = remoteObject.DescribeItems(..., ...); Caught SOAP exception: Parse Error, no assembly associated with Xml key a1:http://schemas.microsoft.com/clr/nsassem/iPACSAPI/IIntegration%2C%20Version%3D1.0 .1954.34178%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull ItemInfo Where ItemInfo is a class which is described in the client as: [S ...Show All
Smart Device Development urgent: event sent from thread doesn't reach WNDPROC
Hi guys, I am very confused with this issue: My program (for smartphone 2005) has a polling thread, that under certain circumstances needs to launch an alert and display a popup. So in the thread I do a SendMessage( g_hWndMain , WM_USER , NULL , NULL ); where g_hWndMain is the handle to the main window. I expect the WM_USER event to be triggered, but that just doesn't happen. It seems that having a thread running in loop prevents the system from having the hand on the events etc... as if Windows Mobile 2005 was a monothread OS. I wrote the same program for PC and it just works fine ! I don't know what I can do anymore (except giving up softw ...Show All
