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

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

Spacetime

Member List

wilsonLOP
Chuck McD
RyanBo
ChasAA
rcodyr
smcintyr11
JFRoy3
Zafoe
Cortexbomber
tom jonson
visa79
edralph
Christina Tabet
Valerio Maarek
William R.
Khaled Hussein
asheridan
Fernando Zamora
hfleong
Padrick
Only Title

Spacetime's Q&A profile

  • Smart Device Development Compact framework version of: [ClassInterface(ClassInterfaceType.AutoDual)]

    What's the compact framework version of [ ClassInterface ( ClassInterfaceType .AutoDual)]. I'm trying to port this http://www.codeproject.com/cs/miscctrl/exposingdotnetcontrols.asp df=100&forumid=2373&exp=0&select=1359005 to the compact framework 2.0. Well .Net Compact Framework doesn't support class interfaces (we only support the 'None' option in that enumeration). To get the equivalent behavior you would need to define an interface exposed to COM that has all the public methods and properties of your class and then make your object implement that interface. Of course thats missing ...Show All

  • Visual Studio dynamic report generating "no tables" exception

    Slight problem with crystal reports (vers. 10) in the Visual Studio 2005 beta. An SQL query is generated on the fly, and then used to populate a dataset. When the dataset is fed into a crystal report viewer ReportDocument there is an exception thrown of no tables present. How does one fix this Any help would be appreciated. Here is the exception, and the code that generates it: “ A first chance exception of type 'CrystalDecisions.CrystalReports.Engine.DataSourceException' occurred in CrystalDecisions.CrystalReports.Engine.dll CrystalDecisions.CrystalReports.Engine.DataSourceException: The report has no tables.    at ...Show All

  • Visual Studio Express Editions how Can I take the file name from FullFilePath ?

    hello, when we open file by openFileDialog1 its take the file name and it`s path so how can I take the only file name from the full file path. Thanks Use: string fileName = System.IO.Path.GetFileName(dialog.FileName); ...Show All

  • Windows Forms Profiles failing to update a Click Once application

    The scenario: We have a Click Once application deployed to 70+ machines. This deployment site has been active since mid November 2005. There are multiple profiles on these machines totaling easily 140 profiles. There are profiles on each machine that are used more often than others. We push patches to the deployment site regularly, sometimes multiple patches in a day. The application checks on startup for patches. Typically a profile is logged in once a day. So the possibility exists that a profile may be logged in while multiple patches are pushed. The problem: Recently it was determined that three profiles, two on o ...Show All

  • Visual Basic HOW TO: Close DOS window launching VB application

    Hi all, I make use of a batch file to launch a VB .Net application. The app is supposed to run continuously and so the DOS window stays on screen. How can I configure, preferably within the batch file, to close automatically the DOS window with the app still running TIA   You may want to checkout the runas command: :\>runas RUNAS USAGE: RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]        /user:<UserName> program RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]        /smartcard [/user:<UserName>] progra ...Show All

  • Visual C++ VS2005 Linker /ENTRY

    We have a bunch of legacy DLL code which uses makefiles to build. The DLLs all use /ENTRY:SomeOtherName rather than the default and I've encountered a problem in VS2005. If I put the /ENTRY switch on the linker command line in the makefile, it doesn't seem to work - when I attempt to load the DLL via LoadLibraryEx(), I get an entry point not found error (0x7f). If, however, I put the /ENTRY switch in the LINK environment variable, the DLL loads without problems. What's up with that I believe the LINK environment variable gets added at the start of the linker command. Could it be that you are addin ...Show All

  • .NET Development Need help on Update

    Hi everyone, I'm developing a simple application on C# using ADO .NET to retrieve data from an MS Access DB.   I've got four tables in my database.  Two of them, CompanyDataTable and CompanyAddressTable, are related by the key column AddressId. So I've set up the relation in the following way: CompanyDataAddress = new DataRelation ( "Reference2" , CompanyDataTable.Columns[ "AddressId" ], CompanyAddressTable.Columns[ "AddressId" ], false ); dsNoyesPhones.Relations.Add(CompanyDataAddress); In my windows form I've got several controls.  One of them, a comboBox is bound to the Company ...Show All

  • Visual C++ LPCTSTR

    Hello all, I've got another question.  I'm using a bit of code written by Nishant Sivakumar ( http://www.codeproject.com/tips/CSMTPConnection2.asp ) to send an email programmatically.  The code is relatively straightforward and there are no problems during compile EXCEPT... Error 3 error C2664: 'ATL::CMimeHeader::SetSender' : cannot convert parameter 1 from 'const char [19]' to 'LPCTSTR' SetSender is a member of CSMTPConnection2, which was written by Nish and inherits from CSMTPConnection.  It expects an LPCTSTR.  Here's how I call it: CMimeMessage msg; msg.SetSender( "myname@address.com" ); In fact, ev ...Show All

  • Visual Studio Express Editions Merging two sql tables using VB.NET

    Hi, I'm trying to export two sql tables as a XML file 1) from the first table i need all the columns. 2)from the second table i need only the names column where cust id =first table.custid how to implement it programmatically. I'm using VS2003. Kindly advice me how to implement it. Thank U! ...Show All

  • Visual Studio Team System Fxcop Custom Rules for Searching for loops

    Hi, I am stuck while writing a custom rule which checks for exception handling inside loops, i am unable to check for the presence of loops inside a method. could you please provide me pointers in this direction. It would also be very helpful if could explain how to check if every method has XML comments. Regards, Vamsi. Hi Sanjukta, I came across ur sample to check the loops ..I was looking for the same from long time. I have a query what exactly this code represents if (( int )objMethod.Instructions[intCount].Value < ( int )objMethod.Instructions[intCount].Offset) { intBeginOfLoopOffset = ( int ...Show All

  • Microsoft ISV Community Center Forums Outlook experienced a serious error: 'microsoft vba for outlook addin'

    Hi, I wonder if anyone can help me with this problem I have been getting. I wrote a macro in Outlook that strips unwanted text from the Subject line, here it is: Sub CleanDC() Dim OutlookApp As Outlook.Application Dim myNamespace As Outlook.NameSpace Dim myItems As Outlook.Items Dim myItem As Outlook.MailItem Dim dcFolder As Outlook.MAPIFolder Dim s As String Set OutlookApp = CreateObject("Outlook.Application") Set myNamespace = OutlookApp.GetNamespace("MAPI") Set dcFolder = myNamespace.GetDefaultFolder(olFolderInbox).Folders("Lists").Folders("DC") Set myItems = dcFolde ...Show All

  • .NET Development [net2.0] FTP - GetFileSize

    Hi! I want to retrieve the Filesize of a file on  a ftp-server. I tried this listing :         Dim size As String         Dim reader As StreamReader = Nothing         Try             Dim request As FtpWebRequest = WebRequest.Create("ftp://server.com")             request.Credentials = New NetworkCredential("anonymous", "anonymous")             request.Method = WebReque ...Show All

  • SQL Server Cube Calculations and Report Model Problems

    Hello all, I'm having a problem with the integration of SSAS and SSRS.  I have also cross-posted to the analysis services group. I've been working with SSRS for a year and a half now, but I am brand new to SSAS.  I've gone through tutorials and did as much reading as I could. The underlying data I am using is similar to the following: Shift_Start     Shift_End          Machine_ID    Breakdown_Min   ...   Quality_Pct 1/1/2005 7am 1/1/2005 5pm 535            & ...Show All

  • Visual Basic Create application to used by multi users at same time

    Hi I have Access database with vb2005 I would like to build my application to use with many users at same time with One shared database !!! q1) how can I set the database to be shared for all applications q2) what about the updating problems (One record updating by two users at same time) q3) must I use disconnect technology or connect technology connection for this issue thanks Hi, very broad questions but we all need help I suppose... 1) create the DB on a server 2) you could be clever in your coding... alternatively switch to SQL Server instead, you can add a timestamp field to cater for this problem. a ...Show All

  • Windows Forms how data binding works in .net2

    I wnat to know how data binding works in .net2 For an introduction into Visual studio and all its tecnologies use the new msdn library, its at msdn2.microsoft.com or a link straight to C# is http://msdn2.microsoft.com/en-us/library/a72418yk(en-US,VS.80).aspx At the bottom of each section is a samples. This directory contains walkthroughs and How to's for that section ...Show All

©2008 Software Development Network