ilico's Q&A profile
Visual Studio Tools for Office "Reload" listobject after UnList()
Hello, I'm trying to make an excel application where the user binds a dataset to a listObject. Then I'm doing a UnList() on the listObject so the data looks like an traditional spreadsheet. Then I whant the user to be able to bind another dataset to the listObject, but this can not be done after running UnList(). How can I instansiate a new listObject, or how can I solve this matter Best Regards Carl ...Show All
Visual C++ error C2664: 'CreateThread' : cannot convert parameter 3 from 'unsigned long (void *)' to 'unsigned long (__stdcall *)(void *)'
Hi. this is my code: BOOL CSerialPort::OpenComPort(LPTSTR PortNumber) { ///---some code… if (hReadThread = CreateThread (NULL, 0,PortReadThread, 0, 0, &dwThreadID)) CloseHandle (hReadThread); ///-----------some code….. return TRUE; } DWORD CSerialPort::PortReadThread (LPVOID lpvoid) { BYTE Byte; DWORD dwBytesTransferred; ...Show All
Visual Studio Team System Testing multiple implementations of an interface / abstract class
Hey, I have an abstract object model that I implement multiple times in my project. I would like to test all the implementations through the abstract classes and I am not sure how I could do this. I thought of inheriting from a [TestClass] and adding the [TestInitialize] method there but VS2005 doesn't seem to like this. What is the recommended way of doing this Right now I redefine all the tests for all the implementations and call the ba ...Show All
Visual Basic What project type?
I want to create an application which can be run from the command line and so be run as a scheduled task, but also can be run as normal GUI app. I have done this before in VB6, but a long time ago. I am now using VS2k5 and I can't work out how to do it. I have created a console application and added forms, but they do not display properly. I have created a windows form project, but then I can only have the form as the startup object. I guess the ...Show All
Visual Basic Process.start
The Process.start command is designed to work with files on disk. Is there a way to lauch a process from memory say from a byte array or MemoryStream representing a MS Word file Thanks, Fred Found this which seems to answer the question directly (it is in c#) "Executing Dynamic Code in .Net" http://www.west-wind.com/presentations/dynamicCode/DynamicCode.htm ...Show All
Visual FoxPro delete record
this question seems to be ... but I tried many times to do it but I couldn't . I'm using VFP 6.0 . I created a form and take data from mytable . After that I created Del button and wrote a small code in Click event . This is my code : if messagebox("Do you want to del this record ",36,"Notice")=6 delete thisform.refresh and the result is 0 record deleted . I don't know why . Is this related to "primary key" from mytable . If someboby ...Show All
Visual Studio Document Explorer crashes
Thought I'd start a new thread, since I'm using Visual C# Express, rather than full VS2005. Windows XP Pro SP2, Visual Studio 2003 Pro, SQL Server 2000 Developer Edition, Visual C# Express, Visual Web Developer Express, SQL Express 2005, MSDE. I also have Virtual Server 2005 SP1 beta installed. Problem just started this weekend. Whenever I click on any topic in the Index, Document Explorer crashes. I've tried Repair on Visual C# Express, Visual ...Show All
Visual Studio Express Editions How do I open a url by clicking on a link label?
How do I open a url by clicking on a link label Hi there, You need to use the link label's "LinkedClicked" event and do something like the following (LinkLabel1 is the name of my link label): Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked System.Diagnostics.Process.Start(LinkLabel1.Text ...Show All
SQL Server manually manipulate parameter info
If i want to go directly against the ReportServer database to manipulate parameter info for a particular report definition, which table is that data stored in Probably not something you can do like that, you may need web service. The Catalog table contains information that may help you (text & binary blobs though) ...Show All
Visual Studio How to add Intellisense to a New Project Type
Hi. I am new to the forums and extending Visual Studio 2005. I am working on creating a new project type for Visual Studio 2005 using C# and the Managed Package Framework (MPF). I used the examples provided by the SDK and the SDK Help to create a new project type. The new project type is working quite well, but Intellisense on any variables or classes within the project fail to be utilized by Intellisense. Intellisense is still functional on ...Show All
.NET Development How to use Stream Server for .Net Application
Hi... Is there any way to communicate with Stream Server using C# or webservices. If possible please let me know how it is By using which Stream Server(Freeware) we can do this one My task is to conver Audio files to Stream format ..For that i need to use some Stream Server i.e, convert the Audio file to Stream then transfer it to Client side and play it there by using which supports that format. Please Help to complete my task asap.. P ...Show All
Visual Studio Express Editions Cannot Access Free Registration Materials via Thank-You Emails
Hi everyone. I'm trying to access the free downloads that come with registration, but I only see the Web Developer downloads listed. I don't see the icons, components, or book that come with C#. I assume they would all be listed on one page, but they aren't there. How can I find them Thanks, John Salerno P.S. I don't understand how to download what *is* there either. The link to the Web Developer book says it's a pdf, but when you download it ...Show All
SQL Server Automatically Fire Trigger Or Procedure in sql server 2000
Hi Guys I want to automatically fire a trigger or Procedure every day 8:00 P.m. How can we achieve this is there any way in sql server which checks the time regularly and can fire the trigger or we have to write a batch which runs at the specified time and try to create a situation so that the trigger is automatically fired plssssss get back with solution.. this is very urgent.... thanks in advance... Krishna In Enterprise Mana ...Show All
SQL Server Is it possible to dynamically populate a parameter list with values based on another parameter value?
Is it possible to fill a parameter list with values based on another parameter value Here's what I have so far (which hasn't worked)... I'd like to generate a report listing information for a student. The report viewer would first select a school from the first drop-down menu, and then the second drop-down menu would populate with the list of students at that school. I have a dataset that calls a sp which returns a list of schools (Scho ...Show All
Visual Studio Show project type in add existing project dialog
Hello, I'm creating my own project type. How do I get it to appear in the list of valid file types in the Add Existing Project dialog (off the solution node) Thanks, Notre In case of a VC++ project wizard add .vsz and .vsdir files to folder '<Visual Studio installed dir>\Microsoft Visual Studio 8\VC\vcprojects' or one of its subdirectories. ...Show All
