MillBear's Q&A profile
SQL Server FTP Task not saving password in designer
I am using CTP 15 and have created an extremely simple FTP task. I enter three pieces of information: - Server URL - Username - Password Very simple. I click "Test Connection" and it succeeds. If I click "Ok", then try to re-open the connection manager and test again it fails. The password text box is blank, but the properties window in BIDS for the FTP Connection Manager shows "*******" for the password. This seems like a very basic problem, anyone else have any ideas My FTP task that utilizes this FTP Connection Manager also fails with a "missing password" type error message. Thanks, Josh Even though it doesn't appear in the Connection Manager, you should be able to see it ...Show All
Windows Forms C# program on Windows XP Pro
Two users of an application I developed have told me that my program does not work properly. Controls are being screwed up, settings don't save, a whole lot of stuff is going wrong. The common link They both use Windows XP Professional. I believe Win XP Pro is the reason why something is wrong, and they both do have .NET Framework 2.0 on their OS, so something with Win XP Pro is causing problems. Why doesn't it work on Win XP Pro Okay, that's what I thought, since Windows 98 is so obsolete it wouldn't be able to handle the new graphics and controls. But I thought that at least maybe .NET could do some kind of conversion to a compatible control... "call EnableVisualStyles (or use a manifest for visual styles). Do you get visual ...Show All
.NET Development Nested Groups with Same Element
Hi Folks, If I have an XML document with several nested elements (<g> elements in SVG for example) how do I match a particular node set within the document. Say I wanted to match all nodes within <g id='match_this'> in the XML below. <svg> <g> <g id='match_this'> <g> <rect x="100" y="100" width="10" height="10" /> <rect x="300" y="100" width="10" height="10" /> <rect x="500" y="100" width="10" height="10" /> </g> </g> </g ...Show All
Visual Basic I want to protect my database from use out of my application
hi I am working in vb.net application, I almost finesh, the problem is : the application depend on MS access (.mdb )database file, the data is the most important in my aplication... so when I deploy the application on the user computer, any one can copy or access the data from the database and use it out of the application.....please tel me how can I prevent that ...Show All
Windows Forms Project special directories
In my project solution I have a directory named "data" and a couple of files below that which will eventually be included in the deployment. The files contain data which will be read in via a streamreader and added to a dictionary. Is there a special name I can use in "My.Settings" to point to this directory without having to hardcode a path in thanks. ...Show All
Visual Studio 2008 (Pre-release) Better support for databinding
I'd like to see better support for data binding with DLinq. For example, if I have the following code: private My DataContext db = new My DataContext (); private Company company; private void simpleButton1_Click( object sender, EventArgs e) { db = new My DataContext (); var q = from c in db.Contacts where c is Company select c; company = q.First() as Company ; bs.DataSource = company; textEdit1.DataBindings.Add( "Text" , bs, "Name" ); } private void simpleButton2_Click( object sender, EventArgs e) { bs.CancelEdit(); MessageBox .Show(company.Name); } I would like the object to be returned to its pre-edited state when s ...Show All
SQL Server Why no stored procedures?
We currently develop a large desktop application that uses Sql 2005 (standard edition). At present we use stored procedures extensively. Soon we will be starting a new project that will require offline functionality and again run on the desktop, so we are thinging of using Sql Everywhere. However, the thought of writing TSQL in code (c#) just seems a little uncomfortable at the moment. Why is there no stored prcedures in Sql Server Everywhere One of the great things about SP's is that you can make slight changes to your business rules without re-deploying your app. Thanks for your help Graham I think the biggest difference for me between Sql Server CE (compact edition) and Express is the installa ...Show All
Smart Device Development Rebuild application .Inf file for CabWiz.exe HELP!!
I upgraded a Windows CE application to VB 2005, which was develped in 2003 in other PC. So I need to make the .CAB file using CabWiz.exe, which at the same time uses the .INF file of the application, the problem I have is that the existing .INF file has the old parameters used in 2003. IS THERE A WAY OF REBUILDING THE .INF FILE WITH THE NEW VB 2005 PARAMETERS WHAT CAN I DO If you knew how to build the original inf file, it should be easy to modify it for VS 2005. In fact most of the things in it should be possible to leave unchanged. What parts exactly are your concern I can think of one thing off the top of my head. You will want to remove all references to vsd_setup.dll and correspondi ...Show All
SQL Server Installing Reporting Services AFTER SQL Express is installed
Hi All! I'm a newbie to SQL & have a question about Reporting Services. I have already installed SQL Express & now want to install Reporting Services. Is there a way to install just this feature or do I need to do a complete re-install Thanks! Just download the Express Advanced SP2 offering on the download site I listed above. For SQL Express we "slipstream" the service packs into the full installation and our package can handle both new installation and updating existing installations. For upgrades, you simply select the existing instance name and it will apply the service pack to that instance. Using the package you can download, you have to do this separately for each instance. A ...Show All
SharePoint Products and Technologies how to auto apply custom theme to MySite when site is created
hello, i need to auto apply a custom theme to all MySites of our portal, when MySites are created. MySites are provisioned, when the user clicks to the MySite link for the first time. What template is used to create this site, and how to modify the relation to the theme. i was able to auto apply a custom master, but with the theme, i stuck. thx for your response, marcel ..update ... I found an interesting blogpost on this subject: http://www.sharepointblogs.com/dwise/archive/2007/01/08/SingleMasterPage.aspx does someone else has experienced the same problem ...Show All
Visual Studio Express Editions Creating a line control sim.. to autocad lines
Hello, I'm a new guy in the world of VB and I'm trying to create a line control similar to the line controls that is in autocadd. Could anybody to get me started in the right direction Hi, Being able to click the line is quite complicated. But I guess you can do it using a Usercontrol. Just override the Paint Event of the UserControl to draw your line. Handle the selection by using the MouseClick events of the user control. cheers, Paul June A. Domag ...Show All
Visual Studio 2008 (Pre-release) DropDown Menu Buttons
I've been trying for a while to develop a custom WPF control that acts as a dropdown menu button. I'd like the XAML to look like: <DropDownMenuButton> <MenuItem Header="First Item"/> <MenuItem Header="Second Item"/> </DropDownMenuButton> This should show a clickable region, that when clicked opens up a Popup containing the MenuItems. From then on it should act as a normal menu. My main problem is that for MenuItems to work correctly then they must be inside a Menu element (try putting some nested MenuItems in XamlPad without an enclosing Menu element). Therefore DropDownMenuButton must be derived from Menu, and contain a Popup that appears upon a MouseDown event. Sounds easy Well how do ...Show All
Software Development for Windows Vista HandleExternalEvent activity in Parallel
I have a few activities in parallel that listen for the same event. With the event arguments I will see which one of the parallel activities to execute. It seems though that the event is only fired in the first activity and not in all the activities waiting for this event to fire. Yes, but in the problem statement, he indicated that he was going to choose which branch of the parallel to execute based on the event arguments; leading me to believe he does not want to run both branches. " With the event arguments I will see which one of the parallel activities to execute." Matt ...Show All
Visual C# WebBrowser Control and JScript Error
I have a webbrowser control (webBrowser1) and am trying to load a page that has javascript errors on it. Example: http://www.giraph.com Even if I have webBrowser1.ScriptErrorsSuppressed = true; The JIT Debugger will still pop up and try to help me. Is there a way I can just ignore the error on the page and move on I have no control over the site that I am navigating to. Example: webBrowser1.ScriptErrorsSuppressed = true; webBrowser1.Navigate("http://www.giraph.com"); Note: Please don't tell me how to disable the JIT debugger on only my computer. This application will be distibuted and I would like it to not open on any computer. You can also handle the script error in your host see http:// ...Show All
Windows Forms Keeping Selected Row in DataGridView always Visible..
Hello All, Is there a way to keep the selected row in DataGridView always visible I keep on inserting rows at random positions in the datagridview. But always want to make sure that the selected row is within the visible area of datagridview and always visible. Any code or sample will be helpful. thanks, Ritesh. A little improvement i would suggest //The row is display only when necessary and this avoid automatique full scrolling. if (dgvr.Displayed == false) DataGrid.FirstDisplayedScrollingRowIndex = dgvr.Index; ...Show All
