Software Development Network Logo
  • Windows Live
  • VS Express Editions
  • Visual J#
  • Visual Basic
  • Game Technologies
  • Visual C++
  • SQL Server
  • Architecture
  • Visual Studio
  • Smart Device
  • Windows Forms
  • Windows Vista
  • .NET Development
  • VS Team System
  • Microsoft ISV

Software Development Network >> JohnRi's Q&A profile

JohnRi

Member List

Vania B
Pitts Pilot
Chris Z.
Alemus
atif ahmed
Mark Lines-Davies
Trevor_M
DKB
Don Breazeal
KTI
C l e m e n s
Guillaume J.
israeliteknight
Morten Nielsen
vsvinuraj
Fedja
itosu
DeveloperMCT
yandi
hprahul
Only Title

JohnRi's Q&A profile

  • Visual C# DateTime Method

    Ok. I know I have asked this question before, but I wanted to ask it in a different light. Here is a sample code that I dont know what to do with : double seconds = 0; DateTime baseTime = new DateTime (); DateTime date = baseTime.AddMilliseconds(seconds); Ok, what I want is for the current time to be "00:00:00".  And for it to show the incrementing seconds. Can anyone tell me how to do this. If you need more clerification please reply. private void Button1_Click( object sender, System.EventArgs e) { double milliseconds = 10000; double seconds = 10; DateTime baseTime; DateTime date; baseTime = new Da ...Show All

  • Visual Studio VS 2005 Setup problem

    Installing the VS2005 Pro (German) after starting Setup.exe I get: Could not copy the file ....VS\setup\DeleteTemp.exe to the temporary directory. Make sure that the specified file exists and run setup again. Any idea Thanks I found the problem (lsobuster, blue icon with long filenames required). However, after calling setup.exe next problem came up copying files. It seems to be a problem of IsoBuster. Using Daemon Tools I could install without any problem. Thanks anyway. ...Show All

  • Visual Basic Split images

    Hi, I’ve got a dude about manage images in Vbasic .net. Is it possible to split images with Vb.net , I mean, over any image in the form (imagebox or something), can I select an area with my mouse and save it as jpg or else Thanks a lot. ...Show All

  • Windows Forms VS2005 Windows Forms and Custom Namespace

    Ok, how do I put a new windows form or user control into a different namespace with the partial generated class files   VS did not like me editing the designer file.  Alternatively, is there a way to have the designer generated code in the single class file ala VS 2003 so all new forms work similar to the converted forms in my project Thanx, If it is a subnamespace of your main namespace, you can create a new folder in your project and forms added to the new folder will be namespaced as main.sub.  If this is not your case, you may want to question why you have a single project that cuts across namespace tree ...Show All

  • SQL Server using DTS within SSRS

    Hi Guys I have an ancient app that produces a pipe delimited file for the printing of certain invoices (which i can present in reporting services). I am able to fire a batch file or script from this able and pass the name of the file through to the script... My question is: is it possible to have the stored procedure fire a DTS pkg to "massage the data" before running the report Has anyone had any experience doing this or other ideas i could try. i'm using SQL2k TIA Stephen There are plenty of options: Push solutions (run SSIS to push data from text file into e.g. SQL table, the ...Show All

  • .NET Development Accessing data in a DataSet

    Hello all, ADO is very new to me, so I hope this question doesn't seem too simple. If anybody can recommend a good ADO book or tutorial that would be great. I am using C# Express and SQL Express. I've been able to connect to my database, use a TableAdapter to get access to it, and fill a DataSet with a query from the TableAdapter. My question is, how can I get access to the the rows and columns in my DataSet I know how to "databind" them to a form control, but I'm trying to just get them into variables. For example, if my table looks like this: int myAlbumsID (primary key, isIdentity=yes) varchar[50] albumName ...Show All

  • SQL Server WebParts not found for Reporting Services

    I created my first Webpart .aspx page in SharePoint 2003. I created a new Document Library and assigned my webpart page to that library. Now when I go to Document Libraries, click on that webpart, I get the page but I no longer see the buckets for the layout..nor do I see the Explorer to allow me to try to add webparts. How do I get to this screen again that allows you to drag and drop items into my page It's just a blank page with a header right now....whereas when I first created this webpart, it asked me for the layout then showed me the layout after...I just want to get back to this edit page for the layout and to add webparts again. ...Show All

  • Visual C# COM+

    Hi. I have a COM+ component done in C# (A class that inherits from ServicedComponent class). I have this component registered in, suppose, computer A. The question is: how can I use this component from, suppose, a computer B using remoting what is the best way of doing that Thanks. You need to set up an Application Proxy. Follow these steps: Set up your COM+ package normally on the SERVER machine using Component Services Right-click on your COM+ Application on the SERVER, and choose Export Choose Next on the introduction screen Enter a file name to export the proxy, eg. "C:\temp\myProxy.MSI&quo ...Show All

  • Visual J# Creating a Dataset - by dragging table from MYSQL database

    With Oracle database, I used to be able to create a dataset by making a database connection in the server explorer and dropping the table onto the dataset designer view. Can you advise if the same would work for MySql database and how. I get the foll error : Mouse drag opertaion failed. The table, view or table-valued function named ''parts'..'PO_mast'' could not be found. Foll. is the error if I try to add a Table Adapter using the wizard, when I hit Finish. An unexpected error has occured. Error Message: Object reference not set to an instance of an object. thanks.. Hi, I was trying it for J# only. I tri ...Show All

  • Visual Studio Team System Validate HTML response using the DOM?

    I'm trying to write a custom validator that will allow me to check the value of a grid in a specific row and column. While I can verify that the grid Id exists in the response, the html itself is just a string without any structure. My code at the moment is pretty simple: public override void Validate( object sender, ValidationEventArgs e) {   // assume the test fails   e.IsValid = false ;   HtmlDocument page = e.Response.Document;   if (page.Contents.Contains(gridId))   {     e.IsValid = true ;     e.Message = "Found the grid" ;   }   else   {  &n ...Show All

  • Visual Studio 2008 (Pre-release) Next version of Linq?

    I was just wondering... Even better would be if said latest bits came with a "use-at-your-own-risk-in-live-production-environment" license :) ...Show All

  • Windows Forms Bindingsource.Filter Problem

    I have a Windows Forms app with about 20 combobox controls on one form that are databound to a dataset from a SQL 2005 Express db. In addition to the comboboxes, I have one DataGridView that uses a bindingsource (MaintenanceBindingSource) as its datasource. I want to use the filter property of the bindingsource to filter records from the dataset based upon the value (text) of the SerialNoComboBox and display them in the DataGridView. I've tried the examples of the following code in the TextChanged event of SerialNoComboBox, but none seem to work: Me .MaintenanceBindingSource.Filter = SerialNoComboBox.Text MaintenanceBindingSource.Fil ...Show All

  • Visual Studio complib.hlp

    Hello, I started on a project in my home desktop. I copied the project's folder to another computer. Now when I try to build the project on this computer I get the following error: Compiling... SqlManager.cpp .\SqlManager.cpp(1) : fatal error C1093: API call 'ImportFile' failed '0x80070003' : ErrorMessage: The system cannot find the path specified. Description: The system cannot find the path specified. HelpFile: complib.hlp SqlUser.cpp .\SqlUser.cpp(1) : fatal error C1093: API call 'ImportFile' failed '0x80070003' : ErrorMessage: The system cannot find the path specified. Description: The system cannot find the pa ...Show All

  • .NET Development Loading an Assembly into current AppDomain

    I want to carry an Assembly through remoting and to load it into a particular AppDomain . Actually, I am surprised that the method AppDomain.Load does not provide any overload based on the simple Assembly class (but provide filepath name based overloads instead). As a workaround, I can write it down the assembly into a temporary file first, but it is rather painful. What is the correct way to load an Assembly (when you already hold an Assembly instance) into an AppDomain Thanks in advance, Joannes Vermorel Assemblies are not "remotable" objects in the way you seem to be thinking of them. If you already h ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Debugging program that won't start

    Whenever I try to start my program, I get a dialog box saying "The application failed to initialize properly (0xc0000022). Click on OK to terminate the application". With the debugger, it does the exact same thing, giving me no opportunity to find out what is going on; if I try to break it once the dialog box is up, I get another dialog "Unable to break execution. Please wait until the debuggee has finished loading, and try again" The only vaguely informative piece of information is a message in the debug window: "Debugger: An unhandled non-continuable exception was thrown during process load" ...Show All

©2008 Software Development Network