Software Development Network Logo
  • Visual Basic
  • SQL Server
  • Smart Devicet
  • Visual C++
  • Visual Studio
  • .NET Development
  • Audio and Video
  • Game Technologies
  • IE Development
  • Microsoft ISV
  • Visual FoxPro
  • VS Team System
  • SharePoint Products
  • Windows Vista
  • Windows Forms

Software Development Network >> Alex Farber's Q&A profile

Alex Farber

Member List

Fox Me Up
xavito
SuperSaiyanZero
Inferno986
KevMac
Gobi N
Matt Olson
aappddeevv
smoon
ititrx
bozo14
Gabriel Lozano-Moran
Denis Gomes
John, Roy
azaclauson
jdang
Aspiff120
TheMaj0r
George Clingerman
Stormin Norman
Only Title

Alex Farber's Q&A profile

  • Visual C++ CList and template

    Hi guys, I made a template that will works on a CList type, but it doesn't work. template <class T> class CIntFile { // ... void Write(T list); }; template <class T> void CIntFile<T>::Write(T list) { //// list.GetAt(0); list.Next(); //// } ///////////////////////////// in another file: CList<CIntMyClass> listMyClass; /// fill it listMyClass.Add(NewData); /// CIntFile<CIntMyClass> intFile; intFile.Write(listMyClass); -------------- Why Tnx I tried to reply what I made at office... so I'm not sure that the code is the same. The error is different template <class T> class CIntFile { public: CIntFile(void); ~CIntFile(void); void ...Show All

  • .NET Development Exporting DataGrid to Excel

    I have a windows form containing a datagrid. There are some buttons which i use to query a database and the results are loaded into the datagrid. I want to export the contents of this datagrid to an excel file. How can i do that in code Thanks. Hi: Everything works ok, but... What if i want to overwrite the excel archive How can i avoid the question of ( Do you want to replace it ) Thanks ...Show All

  • Visual Studio Express Editions MULTIPLE INSTALLATIONS

    Sorry for this probably stupid question but I've installed c# on my computer and i want to install it on a computer that dosen't have the internet. can i just copy the files on to the other computer and run setup.exe or do i have to download the *.img file or is there another way You will have to download the image file (.img or .iso) and burn a cd to use during installation. Since the other computer is not connected to the internet, the registration-free cd install is the only way to go. Let me know if you have any other questions. ...Show All

  • Software Development for Windows Vista Installing SQL 2005 on Vista

    Hello folks, I have just installed vista and the next step is to install other software for developing applications on vista. While trying to install SQL 2005 i get an error message which says that i dont have enough previleges to use IIS. And as a result i am not able to install an important part of SQL i.e reporting services. Anyway the problem has a solution, which is to change the local security policy : User Account control: Behavior of the elevation prompt for administrators in Admin Approval mode to "Elevate without prompting" But even after doing so i still face the same problem. Note: if i do the same thing under Admin previleges, it works fine, but i cant do that all the times. I do want to elevate the permissi ...Show All

  • SQL Server ODBC support

    Can CE be called from an app. that makes ODBC calls Thanks. Two: 1) The existing (calling) application uses ODBC calls; 2) ODBC is the only industry standard for database access. It is an indication of MS's market power that they can introduce a new database product and ignore it. - A ...Show All

  • Smart Device Development System.TimeZone.CurrentTimeZone

    I am writing an application for a Windows Mobile device using C# and .Net Compact framework. I need to obtain the system timezone or timezone that the user specifies in the Settings/Date and Time area. System.TimeZone is an abstract class and if I do try to call System.TimeZone.CurrentTimeZone I get a NotSupported exception. I have also tried p/invoking GetTimeZoneInformation() and also received a NotSupported exception. I went to pinvoke.net to see what methods are available under coredll.dll and GetTimeZoneInformation is not there, so I have no idea how I am to get the timezone. Thanks Harry System.TimeZone.CurrentTimeZone.StandardName works fine for me – I’ve just tried it on NETCF V2 and PPC ...Show All

  • SQL Server start and end date of previous month

    I need start and end date of previous month, such as StartDate=07/01/2006 and EndDate=07/31/2006 for currentdate 08/156/2006 How can I do this Here's one method to find first-last dates in prevoius/current/next month set nocount on declare @date datetime set @date = getdate() -- the point in time from which to measure print '''Today''s date'' is: ' + convert(char(10), @date, 121) print ' ' -- date of the 1st of the current month select convert(char(6), @date, 112) + '01' as '1st this month' -- date of the last day of current month select dateadd(day, -1, dateadd(month, 1, convert(char(6), @date, 112) + '01')) as 'last this month' -- date of the 1st of the previous month select dateadd(month, -1, convert(char(6), @ ...Show All

  • SQL Server System Variables in a SSIS package

    hello all, I am having a hard time referenceing system variables. Can some one give me a quick lesson I am trying to save system variables suck as StartTime finishtime and processes ran I want to store these items into a table for use later. Thank you Jamie, I did end up changing the SQLSourceType to "Direct input" Still haveing some small problems, but I will figure them out. If I do I will post my results. Thank you again :) ...Show All

  • SQL Server dts access to sql server express

    How can I take an access database and import it into sql server express the access db is on a different server then the sql server express. You could copy the Access file to the SQL Server computer before you start (which is what I'd recommend), or share the folder on the computer where the Access file is located and use a UNC path to reference the Access file ( \\accesscomputer\sharename\accessfile.mdb ). ...Show All

  • Software Development for Windows Vista A problem with Installing VS 2005 Extension for WWF

    I have a problem when trying to install the latest version of visual studio 2005 Extension for windows workflow foundation. I've installed: .Net Famework 2.0 from the following link: http://www.microsoft.com/downloads/details.aspx FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en .Net Framework 3.0 http://www.microsoft.com/downloads/details.aspx FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en VS extension http://www.microsoft.com/downloads/details.aspx FamilyId=5D61409E-1FA3-48CF-8023-E8F38E709BA6&displaylang=en When I try to open any sequential workflow in visual studio 2005 I couldn't open the design view and the following err ...Show All

  • SQL Server Interactive Sort - in Descending order by default

    Interactive Sort is used heavily in our "wide reports" (tabular reports with many columns). Naturally for some financial values, higher values carry more importance. We now need to achieve interactive sort in DESCENDING order by default, i.e. upon first-time clicking on the column header, the report is refreshed with data sorted in descending order of the selected column. (Without this, the users need to click twice to achieve the desired result) For numeric values, this can be done easily by using = - Fields!Count.Value as the interactive sort expression. The problem is with "text" data. We thought that using asc() or ascw() to first convert the text to numeric could achieve the same effect, only to realized ...Show All

  • Visual Basic Auto-typer

    Hi, I am new at Visual Basics and trying to learn more. I have looked every where for some code to make my program type characters as if the keeyboard was doing the typeing. You type in a string in a text box then i want it to contunue to type that string over and over again in say 2-5 second intervals. I have tried using SendKeys but that doesnt work. Please help me. I amusing Visual Basics 2006 Expesss Edition. E-mail me( snow_ball_25@hotmail.com ) or post answers please. Thanks, Josh I think it's a game. A lot of my friends use autotypers and such to cheat. Just curious, because most people do it in Visual Basic. ...Show All

  • Visual C# MediaEncoder throws exception RPC_E_SERVERFAULT

    I'm making a program that uses the Windows Media Encoder SDK I can open files and encode them to other files but when i try to stream my movies i get this exception: ""The server threw an Exception". (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))"" This is my code (which is an exact copy of an example in the SDK) // Create WMEncoderApp and WMEncoder objects. WMEncoderApp encoderApp = new WMEncoderApp (); IWMEncoder myEncoder = encoderApp.Encoder; // Display the predefined Encoder UI. encoderApp.Visible = true ; // Specify the source for the input stream. IWMEncSourceGroupCollection srcGrpColl = myEncoder.SourceGroupCollection; IWMEncSourceGroup src ...Show All

  • Visual Studio Express Editions GetAppDomainByName()

    Why doesn't .Net Framework provide a method GetAppDomainByName() to get the AppDomain given its friendly name This would be extremely helpful in making calls to other domains. Thanks for the answer. But I was asking about AppDomain and not www domains. Once we enter another AppDomain, we do not have a way to call into a particular AppDomain. That's why I asked this question. ...Show All

  • Visual Basic Telnet with vb

    I looked online but all I could find was things that cost money, is there a way to telnet from your app with out having to buy somthing well you can spin up a process of telnet and send it arguments to run with: System.Diagnostics.Process.Start("Telnet / args ") where "args" is the arguments you want to pass to the application. you could also redirect input/output/errors to your application using the System.Diagnostics.Process.ProcessStartInfo class http://msdn2.microsoft.com/en-us/library/system.diagnostics.processstartinfo.aspx ...Show All

©2008 Software Development Network