slimjen1's Q&A profile
Visual Studio 2008 (Pre-release) ListView with TextBox
Hello I have the following XAML: <ListView Canvas.Left="13" Canvas.Top="223" Width="535" Height="80" Name="lvReturnMapping" ItemsSource="{Binding Fields}" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Visible"> <ListView.View> <GridView> <GridViewColumn Header="Property" Width="206"> <GridViewColumn.CellTemplate> <DataTemplate> <TextBlock Text="{Binding Path=colProperty}"/> </DataTemplate> </GridViewColumn.CellTemplate> </GridViewColumn> <GridViewColumn Hea ...Show All
Visual Studio Which VS2005.NET should I get
IMy Background: 've been doing Access client/server development forever (almost). However, I am a total newbie to Web developement. I'm ready to purchase VB2005.net for use at my company. I will be working almost exclusively with data driven sites (which now I know is ASP). I've ordered my books to learn and study for .NET WEB and .NET Client/Server development certifications. My questjions: For long-term, heavy duty professional development - the express version is out of the question! Correct The major advantage of VS2005.NET PROFESSIONAL is that you can debug remotely. Another advantage is PROFESSIONAL's " Server Explorer Server's Node ".(I'm not sure what that is - Could you explain or is this something I will ...Show All
.NET Development What is the best way to update a combo box when the database has been updated?
Can anyone help me I need to get a few ideas and the best way to update a combo box on some of my forms. The scenario is explained as follows. I have 1 form (FORM1) that updates a table called ProductGroups, it is on this form and this form only that a user is able to add, amend and delete records in the ProductsGroups table. These product groups are then displayed in combo boxes populate from the database on several different forms that could be open at different times or the same time. When the forms with the comboboxes are opened the combo box is populated. If one or more of these forms with my ProductGroup combobox is open when I add, amend or delete a record using my FORM1 I want to be able to tell the other forms that ...Show All
SQL Server The process could not connect to the distributor....
I have a small problem, I get this following error when trying to start the snapshot agent "The process could not connect to the distributor 'distributor name'. NOTE: The step was retried the requested number of times [10] without succeeding. The step failed. I thought it was related to users or rights but i am using the same user than in previous replication with the server and the rights haven't been altered. I don't know if someone has some knowledge of what to do or a workaround solution, any help would be greatly appreciated. Thank you in advance. Which version of SQL server are you using If you are using SQL 2005, the Window account under which snapshot agent process runs is used to co ...Show All
Visual Studio Express Editions Question about converting data types
Good day, I'm having a little problem in C# while reading from a binary file. What I am trying to do is get the decimal value of 2 bytes of hex data, i.e. "0008" in hex would become 8 in decimal data. Problem is, whenever I try to read it it outputs 2048 or something similar, at least not the number I am looking for, which means I should be doing something wrong... Do you have any idea to get a right number out of this My current reading code: -------------------------------- private int packageType; // Nothing interesting to see here either map = new FileStream (url, FileMode .Open, FileAccess .ReadWrite, FileShare .ReadWrite); BinaryReader br = new BinaryReader (map); map.Seek(0, SeekOri ...Show All
Visual Basic Enabling user control mouse events
I have created a user control and placed it onto a form and it all generally works OK. I have put code into the form to react to Mouse up, down and move events for the user control but the form code is never entered when I click on the user control. I am guessing that I need to put code into the user control to generate these events. If so can anyone suggest what is required poiuytrewq wrote: I think I have found the problem through experimentation - it appears that your statement that the mousedown event in both the UserControl and Form code should be triggered is incorrect. It seems that MouseDown etc events are suppressed in both the form and the UserControl if there is any control under ...Show All
SQL Server '..product level is insufficient...' running package; I have SP1 installed
I read other threads with this problem and one solution was to install SP1 on the workstation. Our server is running 9.00.2047(SP1) and my workstation SSMS version is 9.0.2047.00 so I'm assuming it's SP1 and I am still getting this error. To make matters worse, I have jobs set up to run these packages ON the server, but they aren't working either because I have '...error authenticating proxy...Logon failure unknown user name or bad password'. I'm trying to use my Windows login because it has sysadmin rights; I created credentials, assigned them to a proxy under SSIS Package Execution; in the SQL Agent log I get the error '...SQLServer Error: 22046, Encryption error using CryptProtectData.'. Any suggestions appreciated. &l ...Show All
Windows Forms forms designer error, vb .net 2005
I am trying to follow the code in Taskvision 2.0. It compiles and runs, in VB .NET 2005. But if I use the designer (right-click on a specific form, MainForm), the designer crashes with a message: "The Name PriorityText is already in use by another component" PriorityText might be a datagrid, but I am really not sure I remember this kind of error happening in VB 2005 Beta programs when run under 2005. To fix it, I had to edit the designer.vb file and fix something,... but I can't remember what. Any help, please thx find in your designer.vb for "PriorityText " to check whether you have use it for more than one component maybe you can use find and mark all to help you find all priority text ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do I find the collision normal of two rectangles?
If anyone has any idea, please let me know. I'm not entirely sure how to begin on this one. I've got collision detection down, but have no idea how to find the normal. The normal of an object is usually derived from the dot product of the verticies you are checking for collision against. This is usually done more easily through the use of bounding boxes or bounding frustrums. Try looking on http://gpwiki.org and www.gamedev.net both are very useful for finding out about such things. Also have a look at the Farseer Physics engine on codeplex, which has a lot of collision code and should help. Hope this helps Darkside (P.S I'm going completely from memory here as I couldn't find the article I read this from by the way ...Show All
Visual C# Help using C# library in COM C++
Here is my issue... I have a c# library that I used to implement an IDL file (or more accurately a TLB made from that IDL file). My C# code works great and I can use it within other managed code. What I need to do is be able to use it within a COM application. I know there are a million threads about this, but most of them seem to say that I could use TLBEXP on my library, import that TLB and then I can use it. But I need to use the original TLB file that I used to write my C# code. I can get as far as importing the TLB in my C++ code, but I don't know how to load the actual C# library. Any help ...Show All
Visual Studio Tools for Office powerpoint web display
It looks like IE is doing this behavior, but i'm not positive if i'm right. If you link directy to a large powerpoint file (20mb+) on a website, does it download only a few slides at a time in order to quickly display the ppt This is pretty cool if it does. It looked like every few pages i paged down, it would ask if i wanted to view or save, then continue showing me slides in the browser. Is this right I just want to be sure. It would prevent us from having to do anything special to display large powerpoint files on our web servers. When you see "Office" in the forum name, and in no other, it is tempting to ask here . VSTO is, however, a specific technology Add-in to Visual Studio (.NET ...Show All
Windows Live Developer Forums Layers on and off
I am develpoing a map that contains many pushpins in a small area. I would like to turn them on and off by using checkboxes. Doe anyone know how to go about this I was wondering if any one can take a look at this tread and lend some knoledge. I would really appriciate it! Thanks ...Show All
Smart Device Development Why cant I programatically check a menu item in the simple vs2005 c++ smart device mfc wizard generated project
A lot of us are having problems with ordinary menu operations like (say) simply checking a menu item. Our essential problem is that : it used to work, and we can access the resource like we used to to see its data, but we cant change it any more I'm still trying to get the simple vs2005 c++ smart device mfc wizard generated project to check one of the menus it creates as standard Avinash Prasad's many confusing interlinked comments in various people's threads http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=506847&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=147307&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=369959&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID= ...Show All
Windows Forms Limit rows in datagridview
VS 2005 I want to limit the number of lines added in a gridview, can anyone show me the code and which event to place it. Thanks In advance I have the same issue, where in the datagrid is unbound. When I tried a check against row count, it starts beeping when I am in the third row. and throws an exception. Any help would be appreciated. ...Show All
Visual Studio 2008 (Pre-release) ComboBox problem! How to show a part of SelectedItem.....
This is the ComboBox: <ComboBox Width="200" Height="30"> <ComboBoxItem> <WrapPanel> <MenuItem Width="20" IsChecked="True" ></MenuItem> <TextBlock >Hello</TextBlock> </WrapPanel> </ComboBoxItem> <ComboBoxItem> <WrapPanel> <MenuItem Width="20" IsChecked="True" ></MenuItem> <TextBlock >World</TextBlock> </WrapPanel> </ComboBoxItem> </ComboBox> When I choose one item, the whole item is showed after DropDownClosed But I don't want to show the checked menuitem..... What I want to sh ...Show All
