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

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

Artil

Member List

Yeago
Markw2004
Maxncl
AlanSweet
dsula
AlanKohl
Rocco Mastrangelo
OJacob
pst_grant
gkostel
leo1
Zero WangXin
Daniel Gil
Jon Braganza
joe131
kkos
Joe Kehnast
Attila Fogel
Raju Datla
JonAkaJon
Only Title

Artil's Q&A profile

  • Smart Device Development How to deploy an application from Visual Studio 2005 to a windows ce 5.0 emulator

    Hi All, I am trying to use a windows ce 5.0 emulator to test a program that I have written. However, the windows ce 5.0 emulator is not available from the Target Device drop down box. I was going through a video tutorial by Mike Hall and noticed he had been using visual studio 2003. Mike Hall just simply selected the device emulator from the target device drop down box and that was it. I simply assumed that the same functionality would be available in visual studio 2005 but it is not. Could somebody give me some instructions as how I can configure visual studio 2005 so it can deploy an application to the windows ce 5.0 emulator Thank you, Rachad WinCE 5.0 Emulator is x86 emulator and is differ ...Show All

  • Visual C# What can a subclass do?

    I am a little confused about what a sub class can do with the variables and methods inherited from the super class. According to the book I have read, the subclass can choose to do one of the following: 1. Accept the same variables and methods by doing nothing 2. Ignore the same variable and methods by doing nothing also 3. Add new variables and methods 4. Override the variables and methods. My questions are as follows: 1. If you choose to ignore or accept the variables and methods by doing nothing (you can still see these methods and variables in class view), how would the system know whether you are accepting or ignoring the variables and methods 2. Can you override variables How do you do that 3. What actually happens in Polymorphism D ...Show All

  • Windows Forms DataGridView, DataGridViewComboboxColumn and (important!) DataTable.

    Hi, all! I need to bind DataTable to DataGridView. DataTable contains column of enum type. I have seen many samples of binding business object collection with enum property, but it dosn't work with DataTable! Here is code sample (one file for all): using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace DataGridViewTest { public partial class Form1 : Form { [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); } public Form1() { // Binding Source Bindin ...Show All

  • Visual C# Calling a c++ dll function in a C# thread

    I have writen a c++ DLL project which does some OpenGl stuff. After that I've created a C# project in which i want to use functions from the DLL. - the 2 exports are: RenderScene(); - which works perfectly when i call it from C# RenderWindow() { while (1) { RenderScene(); } } - also this works fine when i call it except it blocks the C# interface. So I've decide to call it from a thread: Thread myThread = new Thread (RenderWindow); myThread.Start(); Unfortunely this doesn't have the effect i've expected - The OpenGl pixels are totally scrambled... Does anyone have any Idea why this happens It's not ok to call the dll function (written in unmanaged C++ code) from a C# thread ...Show All

  • Visual Studio Cannot add web reference

    I am unable to add a secured webservice (https) as a webreference . It throws the usual  certificate error popup but invariably fails with the following error even when i press Yes for "Do you want to proceed "   There was an error downloading 'https://xxx-server/xxxxWebService/xxxxWebService.asmx'. The underlying connection was closed: An unexpected error occurred on a receive. m_safeCertContext is an invalid handle. ...Show All

  • SQL Server CREATE ASSEMBLY error: could not be installed

    I ran the following: CREATE ASSEMBLY A3rdPartyDLL FROM 'C:\Program Files\3rdPartyComponents\3rdParty.dll' WITH PERMISSION_SET = EXTERNAL_ACCESS and got the following error message: Assembly 'A3rdPartyDLL' could not be installed because existing policy would keep it from being used. How can I change the 'existing policy' Often times the problem being reported really means this: Assembly 'A3rdPartyDLL' or another binary that A3rdPartyDLL depends on or uses could not be installed because existing policy would keep it from being used. So, first check on what else 'A3rdPartyDLL' needs. It's "all or none" in terms of the GAC knowing about a set of interdependent files. good luck ...Show All

  • Visual Studio Team System ntext to ntext

    Hi, Sometimes, when creating an update script that changes a table with an ntext column, I see the following code in the sql script: /* The type for Field: SomeColumn in Table: [dbo].[SomeTable] is currently: [ntext] but is being changed to: [ntext]. */ IF EXISTS (select top 1 1 from [dbo].[SomeTable]) RAISERROR ('Rows detected, failing schema update due to possible data loss.', 18, 1) GO Why is this Thanks, Jeffry This problem will be fixed in our first service pack, but in the mean time, there are a couple of ways to work around this issue. First, you could delete these lines from the build script: /* The type for Field: SomeColumn in Table: [dbo].[SomeTable] is currently: [ntext] but is being changed ...Show All

  • SQL Server Running SQL Server 2005 Dev Ed. and Express Ed. side by side.

    Hi all, Is it possible to run SQL Server 2005 Dev Ed. and the Express edition side by side on my development platform Thanks, Andy Be aware that the SP1 patch for Dev edition and the SP1 upgrade for Express Edition are two different things. There is not single download that will update both those editions. You can download the Express Update from the Express download page . The patch for all non-Express Edtions, including Dev, can be found here . The Express SP1 upgrade can both patch and install new instances, so be sure you're selecting your currently installed Instance Name when applying it to upgrade the existing instances. I've not heard of specific issue for either of the SP1 updates, could you provide more in ...Show All

  • Visual C# Compute the time consumed during a function

    Hi, How can I compute the time and memory that are concumed in a specific function in my application. Please help me. Thanks in advance, Aya   Ayooya wrote: Hi, How can I compute the time and memory that are concumed in a specific function in my application. Please help me. Thanks in advance, Aya     This is called profiling and you have two options here, sampling and probing. Adamus showed you the probing way where you insert code in your method. This approach is also called instrumentation. Although in his sample he uses a DateTime type I recommend that look at the System.Diagnostics.StopWatch type which is a high resolution timer. ...Show All

  • .NET Development vfpoledb & cdx > dbf problems

    When I try to open, (i.e. join), .dbf files using vfpoledb and there are .cdx files present in the free table directory. It will not work. I get a prompt for a 'convcpp.prg'. This must be a run-time expression compiler or something. I am using C# over FoxPro and VFP tables. When I copy the .dbf and .fpt files to another directory, then I have no problem with the vfpoledb data access. I don't get these prompts with the ODBC drivers. Is there a way to specify in a connection string for vfpoledb to ignore .cdx files A read-only scenario for my vfpoledb connection would suffice for now... and what are those prompts for .prg I've never used FoxPro or VFP. My problems show when I try to query with joins, which is what the .cdx files concern t ...Show All

  • Visual Studio Crystal Report Export Error from the Report Viewer

    Hi, I am using Crystal Reports for .net. Here we are getting data from the database and passing the dataset to the crystal reports. We are designing the reports with XSD files, and getting the dataset from the database and assign to the crystal reprots ReportDocument.Datasource. I am able to see the output of the report. But when i click on Export button in the Crystal Report viewer tool bar, i am getting Logon failed error. the code i tried is =========================================================== CrystalDecisions.Shared.DiskFileDestinationOptions diskOpts = new CrystalDecisions.Shared.DiskFileDestinationOptions(); CrystalDecisions.Shared.ExportOptions exportOpts = new CrystalDecisions.Shared.ExportOptions(); exportOp ...Show All

  • Visual Studio Team System Controlling the name of the .sql file.

    Is there any way to control the name of the .sql file that is produced by datadude The background to this is that we want to put in a Post-Build step that chnges the .sql file to a name that is short enough for MSBuild to use. We've tried changing the name in TFS Build but thatr doesn't work because we cannot predict what the name of the file is going to be (because it puts the server name in there). Thanks Jamie Hi Jamie, I am not sure why the IE XSTL does not handle the XML declaration element. Have you tried with IE7 I usually open the .proj file in notepad. Or, a good trick that Gert showed me: · Unload the project in VS · Right click on the unloaded project and click “Edit ...Show All

  • Visual C++ Randomly permute an array!

    Hi there, I have to randomly permute an arry of data, more precisely, variable length coding (vlc) table using a key or password. Please explain with an example in C. Thank you. Or just doing an internet search for this will return hundreds of links to articles dealing with this topic. ...Show All

  • SQL Server dropdown menu in sql reporting

    Is it possible in SQL Reporting 2005 to have dropdown menu(eg..on mouseover list of static menu appears from which i can navigate to other rdl files while passing all parameters) .. Javascript is very restricted in Reporting Services, I guess you cannot use the mouseover events here. HTH, Jens K. Suessmeyer. ---- http://www.sqlserver2005.de ---- ...Show All

  • SQL Server Help! Enterprise Manager Turns SQL Server Service Manager Off

    IF someone can assist me. Everytime I load up enterprise manager the service manager turns off. And the enterprise manager can't connect to the local database. But everytime i turn it back on and try to connect again it shuts it off and around and around we go. Help would be appreciated. Thanks. Basically my local SQL disconnects automatically whenever I try to even access my local tables. I don't know what's causing that. When i'm not trying to access it, it stays on. Otherwise it just turns off. ...Show All

©2008 Software Development Network