Seefer's Q&A profile
Visual C++ manipulating excel files with C++
Good day every one I am a new member in this forum and I am also a new programmer. I have been studying C++ language for one semester and I am looking to be a good programmer one day. I have a question... I know how to deal with files that is ( .dat ) and ( .txt ) but I would like to know how to deal with excel files "spreadsheet " . I want to take the input from the spreadsheet and produce the output to the spreadsheet. I asked my instructer about this and she asked me to search and she said if Ifind the solution I will get a bonus mark. I searched the web but I could not find a helpful answer since I found in every answer that I should know Visual Basic but I do not know how to use it... So can u help . Forgive me f ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Tile based movement jerky with fixed time step.
Before I moved from MDX2.0 to XNA, my tile based movement using a finite state machine was smooth. Now that I'm using a fixed time step, my old method is jerky. I would like to redo my old method to work smoothly with the default fixed time step and am looking for ideas on how to accomplish this. The tile based movement I'm talking about is the same used in many old console rpg's (FF4/FF5/FF6) where the player moves a complete tile before accepting movement input again, yet still smoothly moves to it's destination (as opposed to jumping directly to each tile). Here's my old method converted to XNA. //--------------------------------------------------------------- Vector2 position = new Vector2(32, 32); Vector2 destination = position; ...Show All
.NET Development .NET and security - Why so complicated?
Lets say you write a nice .NET 2.0 windows form application. myapp.exe is it's name, and it references mydata.dll which is a class library that has a few classes and a user control in it. It is also written in .NET How would one address the following issues 1) ANYONE can take mydata.dll, open up VS.NET and reference it and use the controls and classes inside 2) ANYONE can simply decompile the IL from both the exe and dll back to almost original source code Now I know all about obfuscators, and people love to recommend them for such tasks like # 2 above, but how many people actually have used an obfuscator successfuly I have used the community edition one that is packaged with Visual Studio, however its rather limited, ha ...Show All
Windows Forms Updating a form with new txt information
Oh do I update a form with new information for example.. lets say I have a form... a textbox.. and a button... If i was to enter information in to a textbox.. and I hit update.. I want that information be writen in the form.. but.. If I was to append text in to the text box.. and hit the button.. I need it to update it with the new text as well. I tried this.. but every single time I hit the button it does nothing.. it actually messes things up. well.. its actually the same code.. that I have been working with for a while now.. since I dont have time to work with it every day.. but anyways.. here it is.. using System; using System.Drawing; using System.Net; using System.Data; using System.Net.Sockets; using System.Windows.Forms; usi ...Show All
Software Development for Windows Vista Errors in winnt.h file using visual c++ 2005 express edition and mar. 15 sdk
Hello. I get the following errors when I try to include winnt.h in my code. I tried using the newest sdk as well as the previous release, and both files seem to generate the same errors. This must be a common problem, but I haven't seen the answer. I'm including stdio.h, xlcall.h, windef.h and winnt.h in my code. Maybe I need to include another header. Any help would be greatly appreciated. Thanks. C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h(3857) : error C2146: syntax error : missing ';' before identifier 'ContextRecord' C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\winnt.h(3857) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-in ...Show All
SQL Server Working with multi-valued, query based parameters
I am currently working with 3 multi-valued parameters whose data sources are queries. The first 2 are required to have entries, 100% of the time, but the third one may or may not require selecting a value. Parm3's data source is filtered by the selections of Parm1 & Parm2. The data source for my report references Parm3 in a derived table that is then LEFT OUTER JOINed. In the cases where the report does not require any selection from Parm3 I am still required to pick at least 1 entry. Can anyone shed some light on this, or provide a solution so I am not forced to pick any if I don't want Thanks in advance, Michael In the design, for the parameter properties you can mark the value as either nullable or allowing ...Show All
Visual Studio Team System Solution requiring hardcoded path to projects
I have a master solution that I'm using to build all the dependent projects in our web application. When I use team build to build the solution it fails because the use of the BuildDirectoryPath is throwing off the full paths in the solution file. I could get around this by overriding the BuildPath in tfsbuild.path, but my real question is what would cause my solution to require that the hardcoded paths to the projects exist, rather than rely upon the relative paths For example, here is a sample from the solution file. Microsoft Visual Studio Solution File, Format Version 9.00 # Visual Studio 2005 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CompanyName.Common.Global", "D:\IT\Objects\Common\CompanyName ...Show All
SQL Server Dynamic feed of table name to Transfer SQL Server Object Task
Hi I would like to be able to feed the List of tables to the Transfer SQL Server Object Task dynamically. I have got a foreachloop container which it feeds the table names into a variable @table_name (string). Transfer SQL Server Object Task is with in foreachloop container I did add an expression into the property of Transfer SQL Server Object Task and assign the tablelist property to @table_name I would be grateful if you can give me any hint. Thanks S Hi, I have faced this issue where TablesList property of Transfer SQL Server Object task takes in list of tables to transfer. There is no way to dynamically set the property through SSIS variable because this property expects StringCollection obje ...Show All
Visual C# Outlook add-In -> how to get Sender SMTP Address
Hi, I'm trying to make an add-in for outlook and I need to grab the Sender Address; I'm using Microsoft.Office.Interop.Outlook.MailItem which has a SenderEmailAddress Property but when it comes from Exchange, it gives somethign like that: /O=ANALYSTIK/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=EPLANTE I have a book that talk about CDO using reflexivity but the example tells how to grab the subject but I don't need CDO for that! The MailItem object has it. On the net I found an example in VBNet that uses this method: Public Const CdoPR_EMAIL = &H39FE001E string o = (String)objSession.GetAddressEntry(strAddressEntryID).Fields(CdoPR_EMAIL).Value But GetAddressEntry doesn't give a result that has Fields. ...Show All
Visual Studio Team System Field level permissions?
Is there any way to allow certain users to edit only certain fields We'd like to deny our test staff edit privileges to the AssignedTo filed on the bug work items. Basically the idea is for the tech lead to do all the assigning, other people can enter bugs and edit all the other fields, but they can't change the assigned engineer. Great! That worked. One more question, though. I can set it as read only, and I can set a default entry, like so: < READONLY for = " PROJECT\QA " /> < DEFAULT from = " value " value = "PROJECT \DefaultDeveloper " /> What this does is makes it so the Assigned To field is disabled for the QA folks. If non-QA folks e ...Show All
Software Development for Windows Vista PingTrust
Has anybody attempted to incoorporate PingTrust (Java STS) with MS Cardspace Please shed some lights on how can I approach Thanks! Well, I can tell you that the Ping Identity guys are trying to do that right now :) They are working on some of the messaging issues--You may wish to check with them what their progress is. As a matter of fact, if anyone is .NET savvy and STS smart, and has some free time to capture some RST/RSTR messages from the new Simple STS that I'll post today, they could certainly use them. I'm soooooo swamped with the rush towards RTM that I'm unable to get them the info they need. g Garrett Serack | Program Manager |Federated Identity Team | Mic ...Show All
Windows Forms Windows application deployment. VS 2005
Visual Studio 2005. Spendin some hours for reasearch, I still cannot figure out how to use Windows Installer project for updates. What I could do is create installer (setup.exe and *.msi) files, that can install my simple application. What I cannot do is figure out how to handle updates/upgrades. Particular problems are According to help I have to see properties like "Project code", "RemovePreviousVersion", I don't see them. I don't want to remove previous version, actually. I just want files to be overrited with new ones. Some particular steps should be done. I figured out that Install class should be created, but still, how to prevent some files to be rewritten during update How to identify that t ...Show All
Windows Forms Non-English Installation Dialogue box
Hi, I am trying to deploy an application using ClickOnce. The application had been localized, except the installation dialogue. In other thread, someone said I can choose the different language file in the Publish->Application Files. However, there is no files can be choosen even I select "Show all files". I have selected "Traditional Chinese" but there is warning during publishing: "Could not match culture 'zh-CHT' for item '.NET Framework 2.0'. Using culture 'en' instead." How can I create the non-English installation dialogue box Thanks. Raymond. ...Show All
Visual C# msmq slow preformance
hello there, i have been trying out msmq with ssl under .net 1.1 at work. to be able to send secure messages from my machine to the next. i got a certificate, and its working fine. it takes long minutes up to 2 hours some times to receive the message on the destination machine. this means that it is sending from my machine but its taking AGES to reach the destination. however if i try to send it localhost, on my machine, i get the message right away! is this normal to happen if so can comebody explain to be why please. thx ...Show All
Windows Live Developer Forums How can i restrict pushpins displaying after searching?
Hi, Here i am using Version4. i am using the method find(what,where,...) after searching i found out that pushpins are placed automatically by this method in the map. I dont want these pushpins displaying. Can any one know how to restrict these pushpins displaying after each search. Thanks Sarath. check my post in this thread it should do exactly what you want. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=622097&SiteID=1 ...Show All
