XNA Rockstar's Q&A profile
Visual Basic What Installer to Use to Distribute VB Application
I'm new to programming and have just completed an application I'd now like to distribute to folks for testing. Can someone please recommend an installer application (either free or payware) I can download to package the application for installing on someone elses computer Thanks for your time! Doug This is not a violation of some established standard. Check out http://msdn2.microsoft.com/en-us/library/142dbbz4.aspx for an explanation of why this path is chosen, and what the benefits and drawbacks of using ClickOnce vs. a windows installer package to install your application. Best regards, Johan Stenberg ...Show All
SQL Server Excel Source Returning NULL
I've a package that has a excel source. But i'm having a strange problem with it. One of the columns in the source file have a lot of null values but not all of them. But when i run the package a put a data viewer right after the source and i can see that it's showing that the few fields that should have values are also null. I've tried a lot of things but they didn't work. I need some help and fast if possible. Example: Source file.xls Name Grade OtherGrade John 30 30.23 In the DataViewer Name Grade OtherGrade John 30 NULL thanks Adriano Coura I will take advantage of this tread to ask the important question about the problem. Here in Brazil the id of a person can come with ou without letters like: m11 ...Show All
Windows Search Technologies How to calculate the mailbox hash to construct URL path
Hello, It seems WDS is using some hash number in MAPI url to locate items. For example, the text in red : mapi://LocalHost/default/Mailbox - Wang, George ( $d3f5 )/ Is it possible to expose the hashing routine so that we can construct the URL from mailbox ENTRYID Here is a doc about something similiar, http://blogs.msdn.com/stephen_griffin/archive/2006/05/10/594641.aspx , search for "ComputeStoreHash", not sure if they are related somehow Thanks! Yes David, thanks a lot for c# version .... I am not able to open an Outlook item using the construct URL ... it has hashed storeid in it. Can you pls give us the c# version of algorithm to calculate store hash which is available on h ...Show All
Visual Studio Express Editions Searching multiple of Excel Files via Visual Basic
I am writing a program that has to search through a multitude of excel files (42 to be exact). In each of these files I am searching for the same exact string. After finding the string I have to grab 2 more columns of data. This data will then be placed in a seperate workbook. I was wondering what the fastest method of roaming through these 42 files would be and what the code would look like to go through each workbook I know how to open individual workbooks, I just didn't know if there was an easy way to go through all the workbook files without writing a string for each one. The program WILL go through every file each time. Thanks in advance for your help. Private Sub entityButton_Click(ByVal sender As System.Object, ByVal e As System.E ...Show All
Visual Studio Team System Problem with Open Selection in Microsoft Excel tool
A couple of weeks ago, I was able to succesfully use the "Open Selection in Microsoft Excel" tool in Team System to export work items to Excel for mass editing. This was working in Excel 2003. Since then, I installed Excel 2007, and now this tool no longer works. When I try to use it, Excel 2003 opens, and then I get the error message: TF84040: There was a problem creating the document. I have seen a similar error on other machines, and actually had this happen when I first installed Team System. When this first happened, I uninstalled Visual Studio and Office, and then re-installed Office and Visual Studio (in that order). This fixed the problem, but was very time consuming. There has to be an easier way to fix this. Anyon ...Show All
Visual C# documentcomplete event
I've got a really weird problem with my application; it works on some pc's, and it doesn't on some others. What I've got: A Visual C# 2005 console application with references to MSHTML and SHDOCVW. I use mshtml to get a list of currently open browser windows, and attach events to it to edit the list when a new browser window is created or closed. I attach a documentComplete event to each open browser window and handle it the event there (let's say it prints out the url where is navigated to). So when I run this program, it should detect when I open a new browser window, when I close one, and it should print out the url of a site when it is done loading it. And there's my problem. On a few pc's, it all works perfectly. But o ...Show All
Visual Studio Team System Simple query to find work items resolved in the latest build
I am trying to create a simple query. What I'd like is to see the list of work items (tasks) that were set to a state of 'Closed' in the latest build that was run - this could be an automated build or one that I kick off manually. It seemed pretty straightforward to create such a query BUT the query grid does NOT have a 'Resolved In' field. It does have a 'Found In' field so this is a little confusing. Any ideas how I can get hold of this data. This is the 'Associated Changesets' that is found at the end of the build log. I don't want to have users combing through the whole build log, which is why I am trying to implement this. The Work Items have a field "Integration Build". This field is set by the build system if an asso ...Show All
SQL Server Dynamic change of the column size and location of a matrix
I have a report that has a matrix. That matrix can have from 2 to 16 columns dependinging on the dataset result. Right now I am forced to place this matrix on the left side of the report and make a column layout pretty narrow. When dataset has more than 13 or so columns it looks OK, but when dataset has only two or three columns it looks weird with a matrix sitting in the left corner with two or three narrow columns and a lot of empty space to the right. Is it possible programmatically change the width of the columns depending on their number in the dataset Is it possible to move the location of the matrix (horizontally) depending on the number of columns in the dataset Thank you, Simon. ...Show All
Smart Device Development backspace in editbox
hello, i m newbie i m using editbox for input but this editbox didnt allow us to remove the character. or backspace the stuff how i do this in editbox i m also using menus in dialogue and i have to use back space button as well please help me. is there any active control sort of thing or something else any resourse is highly appreciated Thanks in advance Regards Salman Hello, please forward me the full project code that use backspace on editbox because i havent use WIN32 MFC if possible tell me how i read the enter key on imate sp5m any code sample how i listen the up down key is i map it BEGIN_MESSAGE_MAP(CPixGalleryDlg,CDialog) ON_WM_KEYUP() //for up down ...Show All
Visual FoxPro Using grid
I have a grid in my program that display an information in sorted and the moment I click any data within the first colum of my grid it automatically display all information in the corresponding objects within the form. What i want to do next is, if ever the focus within the grid and i type the first letter of the record which i want to find it would highlight the record that starts with the character i enter within the grid and follows the 2nd, 3rd and so on. until such time i can right away view the record which i want to find. Thanks... You can: 1) Use 3rd party classes like FoxyClasses 2) Create your own using something like Qickfill, InGrid classes that are in public domain (you can download fro ...Show All
Visual FoxPro VFP 6 - Auto-numbering with the characters
I'm trying to write the code to get the desired result: - CN060901, CN060902, etc... Am lost with the existing code (as below) and wld appreicate if you help to correct my existing codes (highlighted brown front). CN060901 stands for:- 06 - Year 09 - Month 01 - Serial number (dn_no from the ".dfbnos" table) **dbfnos is the table name. **dn_no is the field name in the table (.dbfnos). It is the auto-numbering, starting from 01. . Anyway, the date format on the form is 28/09/2006. [CODE] if empty(thisform.pf.pg1.invno.value) select dbfnos goto 3 && Remarks: For Credit Note select dbfbcn seek TRIM('CN' + right(str(dtoc(df_date),4),2) + right("00"+alltrim(str(month(df_date))) ...Show All
.NET Development proxy error when consuming internal web service
I've pulled out much hair over this, so I hope a guru out there can quickly see the err of my ways. I have created (with the help of some code from articles) a web service that accesses an external web site (outside of our company firewall). I have coded the web proxy and credentials into the web service. In testing via a browser, the web service performs correctly, in that it authenticates thru the firewall and returns data to the browser in XML format. Now I need to consume that web service in an ASP.NET application. However, it fails with the error : The request failed with HTTP status 502: Bad Gateway. The client code is pretty darn simple, so I'm embarrassed that it's not easily working. The sanitized code is below (client and web ...Show All
.NET Development Opening file for reading and writing
I'm building an application that logs data continuously to a file. However, periodically I want to search the log and read data from a specific point in the file, while allowing the log to be continually updated. Can I do this without closing the file How do I go about this Many thanks, Michael When you open the file for writing you should be sure to set the share access to read to allow others to open the file for reading only. To set the sharing information you'll end up needing to use FileStream which allows you to specifyi the share rights. Some other methods might let you specify the sharing flag as well but you'll have to look in MSDN for that information. Michael Taylor - 1/11/07 http:/ ...Show All
Visual Studio 2008 (Pre-release) Orcas Mar CTP Samples?
Are any/all of the EDM/LINQ samples included in the Mar CTP I've been successful forward-porting the October EDM samples, but I don't see any samples in the CTP itself. Am I missing something obvious Thanks, Bob Paul, Please see my post on this issue. http://blogs.msdn.com/erickt/archive/2007/03/06/problems-with-the-linq-to-entities-101-samples-in-the-march-ctp.aspx Thanks! Erick ...Show All
Windows Forms How to programmatically create resource (resx) file given control.
Hi, I'm writing a custom designer. I figured out how to auto-gen the code that appears in InitializeComponent by using the CSharpCodeProvider along with a CodeCompileUnit. I'm wondering if there's a similar technique for producing a resx file given a control or other designer related entity. Thanks, Greg You can find information for creating resource files progamatically here: http://www.c-sharpcorner.com/UploadFile/casperboekhoudt/CreatingandusingResources11282005051810AM/CreatingandusingResources.aspx ...Show All
