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

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

GMon

Member List

themaster
Jordi Serres
Bishi
peta
Nuno Alves
Jfk.Net
Ravs Kaur _ MS
Colm Ryan
jp153
color
WIPIT
jchen
Will code for food
schliden
M.S.P.Saami
Radical
Bruno Sanchez
Kevin Chua
jjones065
Yudesh
Only Title

GMon's Q&A profile

  • Visual Studio Express Editions Unable to do practicly anything in VB beta2

    Hi there, I'm Ehud, first time here (kind of a newbie...) I have a REALLY BIG problem with the VB beta 2 - since I installed it, I couldn't design forms or build my project (beta 1 projects or even a new form in a new project made in beta 2). When I tried to build one of my recent beta 1 projects, it failed and showed me 11 warnings and errors. When opening a form's designer, a critical messagebox appeared and said :"Could not load type 'Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2' from assembly 'Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'." (for an image of ...Show All

  • SQL Server How to import files via HTTP in SSIS

    Hello, How can I import data into SQL server via http server Thanks So use the variable and supply the folder you need to that variable. You cannot get th path of the package, as the package may not even have a path, and is being hosted at execution time, so the package path is meaningless . You seem to have started another thread so followup there. ...Show All

  • Visual Studio Express Editions Selectimg Row in a DataGrid

    Hi Guys,  I am new to VB Programming... I am using datagrid control to display the data from database to the user. The problem I faced with datagrid is selection... When the user click on a row or a cell I want to highlight the full row for giving the user full confirm view abt his click or selection. The highted view can be seen when we click the recordselector but i want the same result when user clicks on a single cell 2... Please reply me soon. Kabindra Bakey.. Hye Dear,       Is it the Control that is available in VB 2005 Express or what.. Always ready to learn. Kabindra Bakey ...Show All

  • SQL Server add date range filter - brand newbie to reporting services

    I've used report wizard to create a report - one of the fields in the report is a date field. I simply want a From Date: and To Date: filter which enables a user to select a range of dates to filter results. I know how to do this in .Net, but am not sure how to achieve this in RS. If anyone could shed some light, or point me to an thread which describes a similar process, I'd appreciate it. thx If you are using Visual Studio then for the data source your query should be just like a stored procedure with a parm... Select col1, col2 From tbl1 Where col1 = @parm1 When you open the report in Report Manager it should have a s ...Show All

  • Visual C++ Again with COM

    Hello there, I have a DLL that uses a COM object . I just #import <typelib> and have an exported function void Function (ObjectPtr &A); I instantiate the Object from VB6 and I call the DLL with that object. Everything works , and I'm happy :) Now, I need to do the same thing from .NET . I can't recompile the DLL in mixed mode, so I can't write a "direct wrapper". I Import the TLB in VS.NET and I get a wrapper for the COM object. Now the question: I'm not able to get the "true" COM object from the .NET wrapper. Is there a way to get , at least, the IUnknow * (non-managed) interface of the COM object so I can pass ...Show All

  • Windows Forms Forcing a virtual DataGridView to refresh its Cell values

    I have a virtual DataGridView that has a data cache behind it. Sometimes I update the values in the cache programatically and I want to be able to tell the DataGridView to refresh the cells. That is, for it to trigger the CellValueNeeded event. Currently I just make a call to DataGridView.Refresh() which invalidates the entire DataGridView and repaints it - which includes triggering the CellValueNeeded event. There are problems with this though. Firstly, it seems a somewhat brute force method. I don't really need to repaint the whole thing... Secondly, I have had intermittent Nullreference exceptions down in the GDI layer when I do a refresh ...Show All

  • Windows Forms It's my code. Is it right?????

    How to convert a class into byte[] and create a class from byte[] or struct My class like this: class myClass {      ulong version;      uint length;      byte[50]  Descript; }    using System; using System.IO; public class PacketHeader {     private byte[] name;     public byte[] Name     {        ...Show All

  • Visual Studio Converting Add-In (7.1->8.0)

    I am attempting to convert an Add-In from a previous version of Visual Studios, 7.1, to be used with VS8.0. I am also trying to keep it compatable with 7.1. I have been trying to work through just the IDispatch interface to find functions such as "get_Item" from a collection like:     pCommandBars->get_Item(index, &pMenubar); Where in my version both pCommandbars and pMenubar are IDispatch interfaces and "get_Item" would be called through the pCommandBars->Invoke(...) function.  Is it possible to perform all the Command/CommandBar/CommandBars methods through the IDispatch in this way Or is there a completely si ...Show All

  • Windows Forms Please help with "Not a member of" error

    I recently upgraded from Visual Basic Express 2005 to Visual Studio 2005 beta2 and the project I'm working on, which had no errors in VB Express2005, now has all sorts of errors in VS2005. Not sure why, but the one error that keeps coming up is that somethings are not a member of "Forms".  In this case it's "AuthenticationMode" that's not a member of "Forms".  I'm not sure what this error means, or how to correct it (or why it happend after I started using VS2005). Any help is greatly appreciated, thanks! Here's the code, which was "auto generated" <System.Diagnostics.DebuggerStepThrough()> _ Public Sub New () ...Show All

  • .NET Development Debugging first sample - Get login screen on browser

    When I debug the first program and it launches my browser to view the app, there appears a login screen asking for username and password.  I have tried to configure the ASP.NET configuration file for permissions, but when you do this it is for a certain localhost port such as 1337.  But when you run the debug again, the localhost file changes the number to port 1559. I have tried different logins and such, but I get this message: Server Error in '/HelloWorld' Application. You can try disabling the NTLM authentication requirement -- go to the 'Website' menu in Visual Studio, select 'Start Options', and uncheck 'NTLM Aut ...Show All

  • Visual Basic textBox -how to ?

    How to program a textBox so that it can only take Numeric value i.e. 0 to 9 and only ".", but no other chracter Hi, If you are talking about a windows application you can use the MaskedTextBox control and set a mask (See the following link for more info on the MaskedTextBox control.) http://msdn.microsoft.com/smartclient/understanding/windowsforms/2.0/features/maskedtextbox.aspx If it is a web form you will need to use a validator control to set a regular expression for the text box. -David Sandor ...Show All

  • Smart Device Development how to transfer data to PC

    Hi, i need to transfer some data  to computer via port some port... ActiveSync can by used. But impuls of transfer will come from PDA. And also i want to know how to copy files prom PDA to PC - also impuls from PDA. Everithing i want to do under .net CF. can you give me som advice Thank you. >I need to transfer some data  to computer via port some port... ActiveSync can by used. But impuls of transfer will come from PDA. Depending on the type of the data and some other considerations there are few general approaches 1.You may use TcpClient on the mobile side and TcpListener on the server side to transfer data. It ...Show All

  • Windows Forms can we pass a value to windows services?

    my windows services is supposed to launch  a external application, i need to pass filename to it, so it knows which application it is supposed to lanuch. is it possible   and is it also possible i can retrieve values from them  thank you <A HREF="http://support.microsoft.com/default.aspx scid=kb;en-us;308403">Check this out</A> ...Show All

  • Windows Forms Question about creating a control from scratch

    I've been writing a menu control from scratch since I want to learn everything I can about the drawing namespaces.  Well I've got a pretty nice menu control, but I've hit a snag now that I've to the actual menu items.  The menu's will display fine, but since the menu items draw outside of the controls bounds all I see is just the top line of the menu item rectangle.  I tried to make the menu items their own control, but I can't seem to get the Paint event to fire correctly and display the menu items.  Has anyone else attempted to do a control like this and if so how did you solve this problem Thanks in advance, Brandon ...Show All

  • Visual Studio concatenate datestamp to logfile name

    I am using FileLogger to log event from msbuild to a file. How can i concatenate datestamp to the logfile name msbuild.exe MSBuildCommunity.proj /l:FileLogger,Microsoft.Build.Engine;logfile=MSBuild.log i want logfile name to be MSBuild_yyyymmdd.log thanks There's no way to do this with our built-in file logger. You'd need to either write a custom logger that knows how to do this (the "correct" way) or wrap the call to MSBuild in some sort of script that knows how to find the current date and append it to the command line (the "cheap and easy" way). Neil ...Show All

©2008 Software Development Network