DLilga's Q&A profile
Visual Studio Express Editions creating dll's
hey i am designing a program and i was wondering if it is possible to create a dll in Visual Basic Express Edition well, maybe I should rephrase that. I'm designing a program where when you click a button it opens a text editor(already have that made). Someone told me that to reference the program in the code you need to create a dll(is this true ) Yes you can make a dll in VBE. No it isn't needed. You c ...Show All
Smart Device Development Blank IO Exception
Hi. I'm trying to write to a serial, COM, port on the mobile device. using .NET 2.0 here and WM2005. After months of trying to find out, I found out a couple of ways of doing so. Yesterday I tried the serialport class, unfortunatly when it writes to the serial port, it gives me a blank IOException - no idea why. The COM port is 3 and is enabled in the system settings by default. Next step was to go low level stuff - so I imported ...Show All
Visual Studio 2008 (Pre-release) Is the pseudo SQL syntax necessary?
Current LINQ syntax is like this: var upperLowerWords = from w in words select new {Upper = w.ToUpper(), Lower = w.ToLower()} where w.StartsWith("a"); But I think that this is unnecessary breeding of C# with SQL. I believe that combination of methods with lambda calculus would be better: string[] words = { "aPPLE", "B ...Show All
SQL Server SSRS 2K5 offers parameters implementation only through subcubes MDX expressions ?
Hi I use a SSAS cube with several calculated measures as a data source for a report. Some calculated measures use time dimensions that also must be used as user parameters in the report. Nevertheless user parameters selection, in some cases these calculated measures need to obtain a non filtered value such us ([Dim Time].[Year-Month-Day].[All], measures.[Quantity]) But when designing the report dataset I find that the parameter funct ...Show All
Visual Studio Team System Adding Default web part fails
Using: TFS RC on W23K SP1 with VS2005 on a Single Server Deployment, Sharepoint Services SP1 I've created a MSF for Agile Software Development and I'm trying to add a Web Part from the sites gallery. However this fails each time, irrespective of the webpart I select (e.g. Events, Contacts etc) The error I get tells me that 'An unexpected error has occurred'. I've Googled as much as I could and found one post about upgrading the web.co ...Show All
SQL Server DBO Thing Doesn't Appear by Table Name
Hi, we are trying to simply import an existing MS Access 2003 table to MS SQL. I've gone through the export routine (the "upsizing" wizard in Access), but my Coldfusion app does not recognize the resultant MS SQL table as a real database object. It doesn't even include DBO next to the table name like all the other "real" tables that were made directly from within MS SQL. Is there something else I'm supposed to do Thanks ...Show All
SQL Server Copy databases
Hi, Maybe a stupid question, but I'm trying to copy some databases from one server to another. The copy databases wizard says the job is successful and I can see that the job has been done on the remote server. But the copied databases are not there. What do I do Make sure you connected (during the copy) to the right (the same as you have inspected later)instance of SQL Server. HTH, Jens Suessmeyer. --- htt ...Show All
Visual Basic Virtual key value output
Hi experts programmers, I need your help!! Any one want to share a code that outputs a virtual key value when a key is press and release it should have a textbox that show the key that is been pressed and next to it is the vvbkey value of that key. Below is a sample code from codeZOne. I cant get to make it work. Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, _ ByVal bScan As Byte, ByVal dwFlags As Long ...Show All
Visual Studio 2008 (Pre-release) BamlParseException was unhandled
App was running fine under VS.NET 2005 B2. Clean installed VS.NET C# Express 2005 and now get to compile-run my app once, all following runs yield the enclosed error. I'm assuming such fineness has been addressed and I'm posting this for emphasis. - System.Windows.Serialization.BamlParseException was unhandled Message="Error at element 'Setter' in markup file '' : Invalid value '0,1,0,Auto' for property 'Margin'.." Source="Presen ...Show All
Visual C# Sockets programming
Hi all, Im new to socket programming, my question is can the winsock control be used to receive data or messages from two different clients at two different ports simultanously. Thank you There is no format when you use sockets. It can handle all kind of streams. The best way to start as reading the msdn entry on the Socket class. ...Show All
Windows Forms How can I hide the caret of a RichTextBox control?
Hello, Can you please tell me how can I hide the caret of a RichTextBox control completely while my app is running Thanks. Just pass the handle for your control and the API will hide the caret inside the control ... You can use dllimport to use this api and then pass the appropriate handle to get the desired effect. [DllImport("user32.dll", EntryPoint="ShowCaret")] public static extern long ...Show All
.NET Development Why do all examples assume you're binding data to a control?
I'm starting to get frustrated now. Every example I come across shows you how to open a connection to a database, fill a dataset, but not how top programatically get at the data... Every example assumes you are going to bind the data to a control and update using a GUI. How do you get at the data within a DataSet once you've Fill()ed it Not from a form, but from with the application. This frustration is also heading towards disappoinment. The ex ...Show All
Visual Basic Why don't Visual Basic programs run on all Windows computers?
My pretty little program only runs on two out of four computers. The others display this ugly error message: Run time error '339" Component 'COMDLG32.OCX ' or one of it's dependencies not correctly registered: a file is missing or invalid. There is no HINT of how to fix this problem anywhere. I've searched the Visual Studio help, these forums and the Microsoft site. Do VB programmers just live with this problem or is there a solut ...Show All
.NET Development bug in serialport.close() ?
Hi ! Here is my problem ... I developped in C# a class heriting from SerialPort. It contains functions structured like this : serialPort.open(); ....write....read.... ans so on; serialPort.close(); I use a timer to run theses functions every miliseconds. After a time, the application freeze. When i debug using "break all", i see a green arrow pointing serialPort.close(). When i press F11 to go to the next instruction, i can't see any y ...Show All
SQL Server Excel 2003 Query Performance
We are using AS 2005 and Excel 2003 as the client front end. I have one particular view built in an Excel Pivottable that takes about 10 minutes to return results. I was pretty sure that the aggregations should support a quicker response so I used XMLA on the server to look at the Sessions whilst the query was running. Using this I grabbed the MDX and ran it interactively to see if I could figure the problem .... it returned in 1 seco ...Show All
