AmundL's Q&A profile
Visual Basic Numericupdown in VB 2005 Express
I'm a new user so be nice! When using the Numericupdown how do you determine if the up arrow or down arrow has been pressed. When you press the Up arrow the displayed number goes up and when you press the Down arrow the displayed number goes down I'm sure that's not what you meant. If you want to check in code which arrow has been pressed then you need to remember what the previous value was and then compare it to the current value. A convenient way of storing the previous value is to assign it to the control's tag property. Something along the following lines should do what you want. Private Su ...Show All
SQL Server Change request: Parameter mapping
In some places in the SSIS enviroment, you can use parameters in queries, for examples in the query part of the OLE DB Command component. You do this by specifying placeholders using question marks. The question marks result in parameters on the Column Mappings tab of the Advanced Editor named Param_0, Param_1, etc. When adding question marks to the query later on, new parameters are created named Param_<x>, where ‘x’ is the next higher index number, no matter where the question mark appears in the query. If, for example, your initial query contains two parameters and later on you add a third one that appears as the first para ...Show All
.NET Development Typed Dataset [newbie]
Hi, I have a problem with typed dataset. I have created a typed dataset according to a microsoft article. This part seems to work fine. The dataset is available in the object browser and intellisense (which is nice), but in the object browser, there's a C# icon and the description of the methods seem to be C# syntax.. I use VB. And when I try to use the dataset in my program intellisense display myDataSet.myTableDataTable, myDataSet.myTableRow, myDataSet.myTableRowChange etc... But no columns. I tried this to access the content the int in the first row, column "No_": Dim strID As Integer = dsPmsItem.tablePmsItemRow(0).N ...Show All
Visual Studio Express Editions Dynamic forms
I'm creating a form for passing information between shifts in my department. Somedays there is little to pass along, other days, ALOT. As of now, I can print the form for minimal information days just fine by directly formating where the labels and textbox informatio0n prints on the page. I'd like to be able to have the labels and textboxes "drop down" the page as they fill in with more information. Right now, they just overwrite the label next in line. I hope this makes sense. If I can figure out how to attach the code, I 'll send it to whomever can help. Hi, You can use TableLayoutPanel control for this p ...Show All
Visual Studio 2008 (Pre-release) Basic Profile assertion fails (BP1212)
Hi! I'm experiencing a problem with WS-I compliance and the January CTP. I'm using the WS-I testing tools to monitor and analyze the data sent between the client and the service. In the analysis report, I find that the assertion BP1212 (R2212) fails. The description of this error is: "The content of the soap:Body element is inconsistent with its description. The envelope does not contain exactly one part accessor element for each of the wsdl:part elements bound to the envelope's corresponding soapbind:body element." I've checked the generated WSDL and the messages passing through the testing tool monitor and I can't see why ...Show All
.NET Development internallyprotected access modifier? (not internal protected!)
Hi forum! I'm currently developing a library type project with a bunch of internal types responsible for internal logic. My problem: i can't use these types in protected methods of public library types! The compiler quits with an "inconsistent access modifier" error. So my question is, are there any plans to add an "internalprotected" access modifier (i.e. protected -- but only internally) to future c# specs The only solution i can come up with is to make the mentioned protected members internal accessible, but this would break my class design. Example: public class PublicType { protected void ProcessData(Inter ...Show All
Visual Studio Creating Virtual Directories in MsBuild
Hi, I tried to use the SDC task library to create a virtual directory and had the following error. Message = Could not load website from given DirectoryEntry VirtualDirectoryName = TestWeb Path = D:\temp\WebSite MachineName   ...Show All
Visual Studio Image in localreport
I want to display in every page header an image determined at runtime not at designtime (so i can't embed it in the report). How can i do this (I'm always fpsoft , i've changed my nick to Fabio Pagano which is my real name). Found it, created a reportparameter and passed the path (eg. "file:c:\MyImages\MyLogo.gif"). Anyway, i've found a problem about Page Header vertical accomodation, i've opened a thread on it. ...Show All
SQL Server SQL Server 2000 Enterprise Edition won't load on Windows XP Pro with SP2
Each time I attempt to load SQL 2000 Ent on my Laptop with XP SP2 I recveive the following error. "Microsoft SQL Server 2000 Enterprise Edition server component is not supported on this opperating system. ....." Developer version installed fine. I had it installed before SP2 but now I reveive this error. Am I missing something here SQL Server 2000 Enterprise Edition cannot be installed on Windows XP. http://www.microsoft.com/sql/prodinfo/previousversions/system-requirements.mspx ...Show All
Smart Device Development Smart Devices, future development
Does anyone have any ideas what the next generation of smart devices will be like Is there going to be more memory Can we develop applications bigger than 32mb Will we have more than 32 program slots Will there be a hard disk Will smartphones have a touch-screen What extra will WindowsMobile 6.0 give us We're developing for PocketPC 2003/WindowsMobile 5.0, and having to restrict functionality to fit hardware restrictions. Obviously we have half an eye on future enhancements, and are coding flexibly. If anyone knows what the future will be bringing, I'd love to hear about it! thanks This is probably not the ...Show All
.NET Development Detecting if code executes after exception
Hi, I'm wondering if there is a uniform way to detect whether code is running after an exception is raised (within the .NET framework 2.0), transparent to the possible environment the code is running in (ASP.NET, Forms application etc). I have a Dispose method that that must behave differently when it's executed after an exception has been raised. This disposable class will be placed in a library that will be used by different types of applications. In ASP.NET you can check the HttpContext.Current.Server.GetLastError() method, but this only works for a web application. So how do I know for sure an exception has been raised independent of the ...Show All
SQL Server SSAS2005 does NOT send a SELECT DISTINCT query to the relational data source for each dimension
quick background we have an OLAP environment on SSAS2000 and are testing SSAS2005 enterprise 32bit as our next platform. Our test cubes in SSAS2005 is failing to process (error msg = File system error: A FileStore error from WriteFile occurred. Physical file: \\ \D:\MSSQL\MSSQL.2\OLAP\Data\MSMDCacheRowset_2576_1258_18nuas.tmp . ) off the source (unfortunately a normalised source) of over 35mil records. our problem in SSAS2000 dimensions are process with a SELECT DISTINCT all the SSAS2005 documentation say it also process with SELECT DISTINCT but that is not what we see when the dimensions are processed in SSAS2005. The S ...Show All
Smart Device Development Redistributing static libraries?
I have a static library which is currently available on Win32, Win64, Mac OSX and Linux. However I'm interested in a qualified opinion if it's realistic to create static libraries on Windows CE My library is written in C++ but exports a C frontend. However I'm in doubt. There exist atleast 4 different processor types (x86, mips, sh and arm) and on top of that lots of different SDKs. I mostly only use CRT functions, STL and a few Windows specific functions but I sense I could be in big trouble as far as compatibility goes. As I found out ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=111412&SiteID=1 ), there are problems when m ...Show All
Visual Studio Any class designer in VS.NET 2003 ?
Does anybody know a good class designer which integrates with VS.NET 2003 I'm already using Visio 2003. Thanks anyway ...Show All
.NET Development How to manage *.lnk files
Hello, My winforms application is watching for each files inside one specific folder and treats file according to its type. When I encounter a LNK file, a shortcut, I would like to access the file that is linked to that shortcut. Is there a way to do this I have looked in system.io but found nothing. I am using .Net 1.1 still. Thanks a lot for any help, Claude Thanks you very much, it is perfect !!!! ...Show All
