Aaron Bull's Q&A profile
Visual Basic Convert Solution from C# to VB.Net
I downloaded the BeerHouse Starter Kit, E-Commerce website, to find it C#, could i convert it to VB.Net If yes, Kindly advise in detail how Thank youuu Since it's a website, the online converters (such as Kamal...) will not be of much help since they won't convert inline asp.net code, or the entire folder-based website, or any newer language features such as generics. Our Instant VB C# to VB converter will do this, but for conversions of this size you'll have some tweaking to do. David Anton www.tangiblesoftwaresolutions.com Instant C#: VB to C# converter Instant VB: C# to VB converter Instant C++: C# to C++ converter, VB to C++ converter Instant Python: C# to Python converter, VB to Python conv ...Show All
Visual Studio Tools for Office Mail Merge with VSTO document - customization module not loaded after merge
We are useing "Smart Document" (word document with VSTO 2005 customization) as a template for mail merge. After we execute mail merge to a new document, the resulting document does not load our customization (our Action pane). If we then save and close the resulting document (merged document) and then re-open it, the action pane is loaded. Thats the only workaorund that we managed to find so far. Is there a better way to force merged document to load action pane after mail merge Thank you, Goran Ciric VSTO project is a template (*.dot) file. I've tried what you suggested, and it just shows Task pane ("Document Action") but doesn't load the control. The simple test (or re ...Show All
Visual Studio Express Editions listview question
how can I show a selected value from listview in a textbox User can chose value from listview (listview is displaying values from database) and then delete it. But in order to do that I need first obtain selected value. And thats my problem. Listview is different than listbox :( In order to determine which item or items are selected within your ListView, take a look at the SelectedItems property which is a collection of the selected items and can be itterated through quite easily with a loop to deal with each and every one. It should be noted though that if you are removing items from the ListView while working with the SelectedItems collection it would be best for you to make a seperate list of sel ...Show All
SQL Server Blank Pages in report
I am supporting a web based application (ASP.NET 1.1) that uses RS 2005 on the production server. I needed to change a report, I make my changes, it looks fine in the Developer Viewer and it exports fine to PDF on my PC. I have deployed it to the production server but when you pull the report within the application (PDF format) it has 3 additional blank pages on the end of the report. The report is the correct size. It does not excede the 8/11 page size including the margins, there are no hidden fields. The report does have 4 tables. I have even viewed the report from //localhost/reports on the server and it shows only one page and exports to pdf with one page. I have looked at all the postings that deal with Blank pages and nothing seems ...Show All
SQL Server Trigger with access to remote server
Hello, i have two server connected to internet S1 and S2 (connection between both is only internet too). I need write trigger on S1 which send update or another command to S2. Is it possible, and how (without using .NET methods only by using Transact SQL) Thnx, jakub. Do you need to execute the command on the linked server synchronously HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Express Editions Need help with DataGridView.ClearSelection
I have a DGV on a sub-form that gets called from the main form. I execute a .ClearSelection in the sub-forms load event so that no cells are selected when the form comes up. This works great the first time. However, when I close the form & bring it up again, the DGV's first cell is always selected & I can't figure out why. Can anyone shed some light on this for me Why does it only work the first time around Thanks... anubisascends wrote: I am assuming that you are calling this code in the Form_Load event If this is true, then this code will only be executed on the form's first load. Why How are you closing the form If you are just setting the visible parameter, or setting it ...Show All
Windows Forms Prerequisistes to run a Winforms application
Hi, I already tried a search but didn't find the right answer. I just wrote a Winforms application and tried to run it on 3 different computers, other then mine. On 2 PCs it doesn't work. I think there's something to install on that computer. What do a generic user have to install on his computer to be able to run Winforms applications Is it necessary to install the entire .NET framework or are there other options you can either download and install the correct .NET Framework version on the PC or you can create a setup and deployment project which will create a setup for your application. The advantage of this is that it will automatically download the .NET Framework for you before proceeding to install y ...Show All
Windows Live Developer Forums Windows Live ID SDK, seriously
Does it exist Is the team still working on it Is there any news at all For something that seems critical to the MS Live ecosystem being adopted by developers, it sure seems like its been all but abandoned. According to earlier statements, the SDK should either have been released by now /or/ be released in the next few weeks. What's going on we would like to use WIndows Live in Forms Authentication with Reporting Services. Our users are in one domain that is not trusted by the domain that owns our servers. Could we do a silent authenticate from the login form THen we can assign the appropriate role based on our lookup scheme for the authenticated user. Is this plausible. ...Show All
SQL Server Updating a linked table?
Hello I have an SQL 2005 Express table with the fields DocID (Unique), DocTitle, DocPath and DocSubmitter. I am using a Web Form to insert records, I can do the Title (textbox) and Path (FileUpload) no problem. The submitter is linked via a submitterID relationship to another table, submitters. So it will be expecting a number (1-30) not a name as listed in a dropdown list on the web form. How do I update this field Thanks, Mark Although this is not related to SQL Server forums, you will have to define both the Label of the combobox and the Value. These are two different properties. The Label will be displayed and the values will be posted when the action of the form executes. HTH, jens ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Libs and MDX
Is it possible to use C++ library files in XNA Like the .lib and .dll files And can you use MDX with the Xbox 360, or is it strictly XNA Could you though use the DllImport attribute to incorporate unmanaged code into your 360 project When I look at the Xbox 360 mscorlib.dll[3.0.0.0] through the Object Browser, the attribute is in the Runtime.InteropServices namespace. ...Show All
Windows Forms Login Form
hi, i have created a login form and drag te login tools from the tool box. But then i need to do some authentication. So i click on the login button and enter some code in. But somehow i get some error which my UserName.Text and tbxUserPw.Text does not exist in the current contact. anyone have idea why is it so protected void LoginButton_Click( object sender, EventArgs e) { if (UserName.Text == "" && tbxUserPw.Text == "" ) { lblOutput.Text = "Please enter login information." ; } else { DBManager DBAgent = ( DBManager )Session[ "DBAgent" ]; if (DBAgent.validateLogin(tbxUserId.Text, tbxUserPw.Text)) { if (Session[ "LoginId&q ...Show All
SQL Server Help with a special stored procedure
Hi I have a table there have a primary key, this value have i also in another table as a forreignkey, so good so far. Here it is If the number in may primarykey in table 1 , dosn't exits in table 2 then delete records in table 1 I have made this in a ASP page with a view there list all records where the forreignkey in table 2 are NULL and then delte all records in table one Can i made this as a stored procedure regards alvin You really want a trigger on table 1 to check table 2 before insert. Research INSTEAD OF Insert Triggers. What this will do is instead of inserting a new record into table 1, it will check table 2 for a match. If there is no match, no record is inserted into table 1. It's b ...Show All
Visual C++ IntelliSense Question?
Hi all, How can one edit the properties of the intellisense in visual studio 2005 ... for example to complete a word one would press (by default) ctrl - right arrow .... but I would like to change it to ctrl spacebar.... Does anyone have an idea .... Thanx in advance Programm3r I dont think that there's an option for what you required. I donno why your VS 2005 behaving weird. we are using Ctrl + Space or Ctrl + J for the same. it's working fine. if there's not duplication in the word (unique name), pressing Ctrl + Space will complete the word. e.g int MyInt; if you type My and press Ctrl+Space, it will complete the word without showing any option. (The word should be unique, else it will show the options list boxes.) ...Show All
SQL Server BUILTIN\Administrators not recognized - rsUnknownUserName
Hello all, We recently moved our Team Foundation Server from one server to another, of course the reporting services was also included in that move. On the new server, we are not able to change Reporting Services security parameters anymore, we get this error : User or group BUILTIN\Administrators not recognized. (rsUnknownUserName) The old server was an english windows 2003, the new one a french version, i guess the problem is related. The BUILTIN\Administrators group name on the new server is "BUILTIN\Administrateurs". Is there a way to change security params without getting this error How can we remove from Reporting Services this reference to BUILDTIN\Administrators I've tried to modify the table Users directly ...Show All
Visual Studio Team System Project Portal Sharepoint Search is slow
We are running RTM of Team Foundation Server in a dual-server setup. We have a number of team projects using the MSF for Agile Software Development set up. Sharepoint SP2 is installed as per the installation guide. Full-text indexing is enabled in Sharepoint Central Administration The system is on good hardware, and otherwise quite speedy. I've looked in the Event Viewer and there's nothing funny in there. When using the search function on the Project Portal for any of the team projects the search is really slow to respond, but eventually does return with the correct results. The browser sits there waiting for searchresults.aspx to load. What could be causing this Where can I look for more information Rega ...Show All
