Carlos Marín's Q&A profile
Visual Basic Purchase Order Number Generator
I'm designing the forms for our business, and am currently working on a Purchase Order form. The aim is to create a form that, when opened, creates a new PO number that runs in sequence. IE: I open it one time and I have GH-0001, but next time it's opened, we have GH-0002. I'd like to avoid anything based on date and time because those make for very long PO Numbers, and slightly weird. Any suggestions or redirections are welcome. ...Show All
Windows Forms scrolling message
Hi All, I have been tasked with adding a scrolling message at the bottom of an application. Apparently, management wants to pass information to it's associates with this 'ticker tape'. I think it's a distracting annoyance and hey, what ever happen ...Show All
Visual Basic Visual Basic 3D
I have this problem to solve, hope that you can help me: I have a building with a “control system”. The control system, depending of the temperature inside and outside the building, opens and closes windows automatically. I want to create a 3D model of the building that displays in real time the processing mode of the building (temperature inside and outside, windows that are open and closed, etc). For that I have to interconnect the “contro ...Show All
Visual C# PLEASE HELP - Circle with line through it w/Drag and Drop
I am completely new to C# (came from VB6). I have some code that I created in VB.NET (2003) and I'm trying to migrate it to C#. Basically, I have a picture box that I need to drag across the top of another picture box. The problem is that after I click and start to drag (cursor still within the top picture box) , I get the cursor icon that is a circle with a line through it. Both my picture boxes are on a panel located on ...Show All
SQL Server SQL reporting services 2005 with CLR
Hi, I am trying to use reporting services 2005 with a VB SQL stored procedure that i created in visual studio using CLR. The stored procedure was created successfuly in SQL server but while linking the report to the stored procedure, i am receiving the following message "An error occurred while retrieving the parameters in the query. The stored procedure 'mysp' doesn't exist. Thanxs in advance ...Show All
Visual Studio Displaying Mutiple Reports
Hi, I would like a sample of the coding required to display mutiple reports on one form. I have created four reports, have one form with the crystal reports viewer on it. The main report is linked to it, but I do not want to create a form and CRviewer for each report. Please show we the code needed to release a report and attach another. Most are using the same database... Just do CRviewer.ReportSource=< ...Show All
Software Development for Windows Vista Special behaviour for own implementation of IEventActivity required.
Hello, I have implemented a own IEventActivity which waits for an external event. Till now, everything works fine. Now we get a new requirement to raise more than one event on the same activity. Here is a simplified version of the activity: public class GenericEventActivity : S3Activity, System.Workflow.Activities.IEventActivity, IActivityEventListener<QueueEventArgs> { protected override ActivityExecutionStatus Execute(Activity ...Show All
Windows Live Developer Forums Message language
So I downloaded the Italian version right, but messages and whatnot are still in english. Is there anyway to change this without changing the language windows itself is set to or having the other person write in Italian (Doing this cause I'm learning italian :p) I've googled abit for stuff, but I can't find anything helpful.. Any help would be much appreciated. I'm sorry, this is the windows live *develop ...Show All
Visual C# Excluding files from release mode?
I have a couple classes (one per file) that are derived from abstract base classes that are only there to give me easy unit test access to some math functions in the base class. Is there a way I can exclude them from a release build since they aren't used except by the unit test project You can try surrounding your class file between #if DEBUG and #endif pre-processor statements. The DEBUG symbol isn't defined i ...Show All
Visual Studio Why the f$%^&* does the DSL tools ask for C++
Why the f$%^&* does the DSL tools ask for C++ for installion. I Have a long weekend before me, so I wanted to try the DSL tools and I find that they ask for C++ so untill i get to the office next tuesday i wont be able to install them. That means i wont review them this weekend this means that i wont have a decision to invest in them for monday, that means they wotn go in in my current project that means a delay fo a copuple of months until ...Show All
.NET Development Cannot Find Server
Since I have an AMD 64-bit 3000+, I installed the pre-released Visual C# 2005 Beta 2. But this application is not working. Every time I click the application in Program File, the only message in the window 'Cannot Find Server - Microsoft Visual C# 2005 Express Edition Beta' is "The page cannot be displayed". In the window, any attempt connecting to any Microsoft official address also fails (event ...Show All
Visual Studio 2008 (Pre-release) Frame javascript access on WBA
Hi, I am creating a web application in xaml which also is going to host an ajax application, (virtual earth). To render the html i am using a frame, and i would like to send commands (javascript) from and to the browser like it is possible to do with the windows forms web browser. I cannot use the windows forms web browser as it has partial security and cannot be published on the internet. The frame uses as a browser the microsoft internal ...Show All
SQL Server SSIS Package deployment with C# problem
Hi, I try to deploy a SSIS Package with the method SaveToDtsServer of Microsoft.SqlServer.Dts.Runtime.Application. My C# project is to deploy a SSIS Package in a Setup Application (My project has a Installer Class). It's work several times, but suddenly It stop working without change in my code. There's a System.BadImageFormatException : Message="Invalid access to memory location. (Exception from HRESULT: 0x800703E6)" ...Show All
Visual Studio Team System VB Examples of Custom Extraction / Validation Rules
Can anyone provide step by step examples of setting up and writing a Custom Extraction Rule and a Custom Validation Rule in VB The examples provided at http://msdn2.microsoft.com/en-us/library/ms243179.aspx and http://msdn2.microsoft.com/en-us/library/ms182556(VS.80).aspx are not in my language of choice. Thank you. Looks like this sample is only available in c#. However, there is a free website avail ...Show All
Windows Forms keycode
hi everyone....... i think most of you heard about this problem many times, but still i want to ask again. actually, i have already did the things that i have to do to solve this problem based on solutions that i've got from websites&nbs ...Show All
