Ronald Ricardo Ramirez Moran's Q&A profile
Windows Forms Accessing a dataset from another form
Ok, I'm not sure if this is the correct way on how to do this, but here is what I want to do. When my main form loads, I want to read in an xml document into XMLDataset, which I can do. But I want to only read this document in once when the app loads. Then whenever another form needs the dataset it can access ...Show All
Visual Basic Renaming a file with a timestamp
Hey!, i have a slight problem. I want to rename a file with either the date last modified or todays date including time. I also want to move the file to a different folder, then rename it with the timestamp. I have tried several ways of containing the last modified information but failed miserably. Help with partly coding or full code appriciated. /Rav out Bump! Sorry DMan1 couldnt really get this to work, probably becuase of my poor VB skills. Please help me with this, ive run out of ideas.. Ive changed the idea alittle, i now need a .vbs script that i can run that moves a specific file and then renames it ...Show All
SQL Server Publisher become subcriber to other publication.
Hi, I just want to know, is it possible to do this If yes, how to do it Thanks. Yes, it's called republishing and common for merge publications. Please search Books Online for more information. ...Show All
Visual C# Generic Bug or Limitation or By Design?
The following is my code Common public abstract class DataFieldBase { public DataFieldCollection<DataFieldBase> Parent; public string FieldName; protected object BaseValue; public DataFieldBase(string fieldName, object value) { this.FieldName = fieldName; this.BaseValue = value; } } public class StringField : DataFieldBase { public StringField() : base("StringField", "Test") { } public object Value { get { return this.BaseValue; } & ...Show All
Windows Forms Databinding to a DateTimePicker control
I'm trying to bind a DataView to several DateTimePicker controls. Problem is the binding is happening on a newly created row so the datetime columns are all null. I transformed the null values to nothing but the DateTimePicker does not allow no date selection, it has to be a valid date greater than the minimum (I beleive nothing on a dateti ...Show All
Visual Basic Publisher, Version, Control Panel - Net 2005
Q1. When installing my app, I got this "warning" message: "Application Install - Security Warning, Publisher cannot be verified. Publisher: Unkown Publisher", with a default of "Don't install". How can this message be avoided Anybody care to describe "signing" easily Note, the Control Panel shows the app name for Publisher. In Net 2003, I sorta remember specifying publisher name in the deployment project Q2. The Control Panel "Support Info, Version" shows correct version 1.0.0.4., but my app has MsgBox("Version: " & Application.ProductVersion) and it shows ...Show All
Visual C++ Microsoft Visual C++ Runtime Library error question
I recieve this error when I launch Internet Explorer - version 6.0 OS Windows XP Home edition 2002 Service Pack 2. Error is as follows: Microsoft Visual C++ Runtime Library Runtime Error! Program C:\Program Files\Internet explorer\iexplore.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I am not certain where to post this question and problem. Your assistance is greatly appreciated. Currently, I am using Firefox as my back-up web browser. had the problem with runtime error, removed google tool bar, ...Show All
Visual Studio Team System n mi Upgrade database to specified version in automated build task
We are using team build to run a nightly build and deployment to our test environment. We are thinking about to create a DBScripter.exe app to upgrade our Oracle DB to the specified version. It will look for change scripts and handle the upgrade of the database to a specified version. What can be a good approach to integrate this in the build process I was thinking about calling this at the BeforeCompile Event and the Exec command. But if the return code is less than zero from DBScripter.exe I want to cancel the build. How can I check for the return code and cancel the build if there is any error I would also thinking about using th ...Show All
Visual Studio Team System Error loading task list into Project
I am using TFS Beta 3 and am trying to load load the task into Office Professional 2003. When I do this I am getting the following error. TF80071: Team Foundation encountered an error while accessing the work item database. I found an earlier thread on this forum that discussed this issue but none of the suggestions there helped me. I am using Project Server but that did not seem to be an issue with the Beta 2 release. I was able to import the task list then. Which thread did you review... Was it this one... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=109087&SiteI ...Show All
Visual Studio Error When Deploying Application
Hi, When I deploy my win app which includes a reportViewer control I get the following message. Unable to install or run this application. The application requires your system to be updated to Microsoft.ReportViewer.WinForms Version 8.0.0.0. Any idea what this error means Terry, that didn't work for my problem of using a ReportViewer in a webform in local mode at a hosted website. By the way, your previous article, "Visual Studio 2005 Beta2 and Reporting Services - The Most Interesting New Feature for Me", was VERY helpful to me. Many thanks for that. ...Show All
Visual Studio Tools for Office Button is not getting removed after uninstalling the Word add-in
Hi All, I'm creating and installing a Word Add-in. The add-in creates a button on standard toolbar. When I uninstall the add-in the button is not getting removed. The add-in is the basic add-in from the link http://support.microsoft.com/default.aspx scid=kb;en-us;Q302901 as it is. The code in OnBeginShutdown is as follows: public void OnBeginShutdown(ref System.Array custom) { object omissing = System.Reflection.Missing.Value ; System.Windows.Forms.MessageBox.Show("MyCOMAddin Add-in is unloading."); MyButton.Delete(omissing); MyButton = null; } Can anyone let me know what am I missing I've even tried using oCommand ...Show All
SQL Server Windows Mobil – SQL- Symbol MC70 Problem
Have an App using SQL CE 2.0. If the App is open and the device is powered off and then back on; the following happens when an update of the data base is attempted: 1. Pocket PC 2003 – IPAQ No problem all is well. 2. WM 2005 – Dell No problem all is well 3. WM 2005 – Symbol MC70 SQL error 0x80004005.** App is compiled under eVC 4.0 ** Some results if App is compiled under VS2005 Is this: a.) My problem b.) WM 2005 problem c.) Symbol ...Show All
Visual Basic Microsoft Excel Bug -Data Population in drop down box
hi , In VBA we have a string whose length is greater then 253 (by len() function in vb) when I am trying to add this String Value in excel cell as drop down as With Sheet1 .Range(.Cells(inserDatatRowNo, loc), .Cells(inserDatatRowNo, loc)).Select With Selection.Validation .Delete .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _ xlBetween, Formula1 := StringValue .IgnoreBlank = True &n ...Show All
.NET Development Retreving html code from URI
Hi to all, I've looked for thread about retrieving html code from URI, but I not solved my problem. I have an URI from where I have to retrieve an XMLDocument. Unfortunately this XML is not well-formatted, so I can't load it with XMLDocument.LoadXML method. So I thought to load the real html code from the URI (it is a old asp page) (this is my uri: http://www.viagginrete-it.it/feedrsseventi.asp) The problem is that if I use a webbrowser, the page is interpreted and displayed as a web page, so if I read the outerhtml or innerhtml property I will find the code of the html page as displayed and not the source html code (I mean: the non-well- ...Show All
Windows Forms How to use ftp with vb.net ?
Hello friends i want to make a ftp interface using vb.net any idea for that ...Show All
