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

Software Development Network >> Allen Lewis's Q&A profile

Allen Lewis

Member List

MjkSoft
Garthower
Michael Blome - MSFT
Mandy26
Andy Kemshall
cholev
J. Sieben
MichaelHight
Ed Hazell
Peter607
reesthil
SmokeyPete
Ed James
dbabe13
computerbill
Jasonlkk
Evan2
viswaug
Ravivyas
VishalJogi
Only Title

Allen Lewis's Q&A profile

  • Visual Studio Express Editions How to Load URL into WebBrowser?

    How can i load a page into my web browser control, i got an error on this program, do u have any sample code that loads a webpage into a webrowser control Thanks;) Hi, If you have an error, you should try and be specific about what it is & detail the actual error in your post so that others can help you with your problem. Anyway, if you are trying to navigate to a specific web page like Google then try something like the following: ====================== WebBrowser1.Navigate("http://www.google.com") Where WebBrowser1 is my WebBrowser control. ===================== It is also possible to ...Show All

  • .NET Development Multiplatform .NET (or running a .NET app under linux)

    Hi, When I started studying .NET, the first thing we were told was "the .NET framework is multiplatform, you can use it in any OS". I didn't find any obvious way to compile applications for linux, and I was wondering if it is possible If yes, could someone direct me to a guide Thanks in advance, Ameralis Zaiir The mono project has been compatible with the .net framework 2.0. Before microsoft started the .net framwork 2.0 beta one. I was using mono at that time. :) The mono developers make sure that they stay upto date so you can use new code with the compiler. ...Show All

  • Visual C++ malloc error in C

    >c:\s.t>cl /MD /GS- a.c >Microsoft (R) C/C++ Optimizing Compiler Version 14.00.40310.41 for AMD64 >Copyright (C) Microsoft Corporation. All rights reserved. > > x.c > Microsoft (R) Incremental Linker Version 8.00.40310.39 > Copyright (C) Microsoft Corporation. All rights reserved. > > /out:x.exe > a.obj > > T:\s.t>x > 3000000000 0 > > c:\second.try>type a.c > // cl /MD /GS- > #include<malloc.h> > main(){__int64 n=3000000000; > printf("%I64d %i\n",n,malloc(n));} why does malloc(n) return 0. What is wrong with this code Three gi ...Show All

  • Visual FoxPro Open table exclusively?

    Forgive my ignorance - I've recently reinstalled XP and subsequently Foxpro 7.0. Now when i double click on a foxpro dbf file it opens the table and another datasession labeled 'B' (i'm supposing it's a datasession). Previously, when i opened a table i was in exclusive mode and didn't have this duplicate table open also. I normally work in exclusive mode because my data is not in a shared environment (i'm a vb developer). Any suggestions thanks, rroot01 Sounds like your XP is set to work with a single click. Create a text file in VFP home folder named config.fpw and add: exclusive=on ...Show All

  • Visual Studio Express Editions How to get a group name using role name [c#, InfoPath]

    Hi All, I'm trying to get a group name using a role name in my infopath manage user roles. How can I make the c# script I need a example code for displaying members of a g roup name with user role name~!! ...Show All

  • SQL Server I am unable to install SQL Server 2005 on Win XP SP2 box

    I get to the point of starting the services and receive the following message after about 4 minutes of trying to start. I tried in Mixed Mode and Windows Authentication Mode. Message: TITLE: Microsoft SQL Server 2005 Setup ------------------------------ The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, "How to: View SQL Server 2005 Setup Log Files" and "Starting SQL Server Manually." For help, click: http://go.microsoft.com/fwlink LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=setup.rll&EvtID=29503&EvtType=sqlsetuplib% ...Show All

  • .NET Development Is there a class that i can use to schedule task according to system clock

    Is there a class that i can use to schedule task according to system clock. I need a class that i can use to schedule methods to run at different times of the day and also at different time of the week. If no .NET class exist are there any COM components that i can use Someone has written a wrapper around the TaskScheduler COM interfaces over on CodeProject: http://www.codeproject.com/csharp/tsnewlib.asp ...Show All

  • Architecture Databinding vs Multi-tier

    I'm a bit confused - see if you can help me out. It seems like microsoft is really big on the multi-tiered approach to development(presentation, business, data), but now, with visual studio 2005, they're also really pushing the new and improved typed dataset for databinding. Am I wrong, or is it virtually impossible to take full advantage of the new typed dataset and still separate your system into presentation and data layers You create a datasource (for your windows forms project) and start dragging different entities onto the form and bang, there is your app. But that violates the separation approach because your data-access code is in t ...Show All

  • SQL Server SELECT QUERY Without USING CASE

    I have a select query select col1-tbl2,col2-tbl3,col3-tbl4 ,col4-tbl1,col5-tbl1 from tbl1where condition, The above quey col1-tbl2,col2-tbl3,col3-tbl4 are from table1 only, but it have only id(ie) the foreign key references of tables 2,3,4 I want the column with their values to join with the tables 2,3,4. Except USING CASE Except USING CASE Please Guide me USING CASE Not sure I understand. Just join to the tables: select tb2.colOther as col1-tbl2, from tbl1 join tbl2 on tb1.col1 = tbl2.col2 ... Or is your question different than this ...Show All

  • Visual Studio 2008 (Pre-release) cut , copy , paste in richtext box

    Hi can anybody know how to get functionalities like cut , copy and paste by programatically in richtext box thanx I'm not sure I understand your question... But here is an answer: To programatically trigger commands like Cut, Copy and Paste... you simply need to invoke the appropriate command on your richtext control... ApplicationCommands.Cut.Execute( param, myRichTextBox); param depends from command to command, I don`t know the particular format for the Cut, Copy and Paste commands, but I bet that those commands mostly depends on the selection and cursor position for the RichTextBox control... Hope this ...Show All

  • Visual Basic How long a computer is on, and writing after some text

    Well this is a two Q topic. First i want to know if there is any code for getting the time for how long the computer has been on Comptime.. Second how can i input text after some text in textbox For instance button1.click inputs the text "you" into textbox1.text But if the textbox1.text already has some text like "how are" then when button1 is clicked text should be input after "how are" and the text should be "how are you"   If you want to do anything to or with a particular class the first thing you should be doing is reading help topic for that particular class and its member listing.  That would have brought y ...Show All

  • .NET Development App works under ASP.NET dev. server but not under IIS

    Bascially my application just reads data off Excel sheet and displays the data on web page. This does work under ASP.NET dev. server but when i try to use IIS (yes i have set it to run that applicaation under 2.0) it throws the following error: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][O ...Show All

  • SQL Server What is the environment for data mining programmability?

    Hi, all here, I am new to data mining programmability. And as we know with the data mining programmability, we can integrate data mining with client applications via a series of data mining programmability APIs like AMO.NET, ADOMD.NET,SERVER ADOMD.NET, OLEDB, ADO,ADO.NET and so on. So what is the environment for the data mining programmability then I mean what kind of IDE can we develop the data mining programmabiliy Thanks a lot for any guidance and help. With best regards, The typical environment is Microsoft Visual Studio 2005. Certain operations may be performed with the Express edition of Visual Studio products. In additi ...Show All

  • Windows Forms Instant messenger

    Hello everyone  I was wondering if it was possible to create a MSN-type instant messenger with .NET  and if it is, what tools would I need to create one along side .NET  Are there any resources out there on this topic that gives step by step guide on development  Any feedback or ideas are welcomed. Thank you.  tone http://whidbey.msd ...Show All

  • Windows Forms Converting Vb.net application to ASP.net application

    Hi friends, I want to know is there any way of converting vb.net 2005 applcation to asp.net 2005 application. Other thing is should i convert it or not. and what are do's and dont's of ASP.net. And please guide me if we are using the application on Lan which one should we use asp.net or vb.net Thank a Lot If the application is used regularly by the same people, then you should use Smart Client (Windows Forms) application. Most of the installation problems have been solved so that it is almost as tranparent as a Web app, and has a much richer user interface. I do not know of a conversion routine, but there are several app g ...Show All

©2008 Software Development Network