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

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

HardEng

Member List

atnoslen
Lynette Johnson
Dancer John
Haroon Munif
poppy
jeremys27
Nick Lilavois
thelion
Nelson Neves
BigJoe
Desperate Dan
jwlc76
Petr Horinek
tarusoft
Stendal
EvilSilver
Brody
MontyMan
David NL
Jon Asbury
Only Title

HardEng's Q&A profile

  • Visual Studio 2008 (Pre-release) Problem looping trough IEnumerable of QueryResult

    Hello I have a strange effect and wonder if someone can explain me what can cause this. var q = from  a in b ...<fetchs something from database>.... System.Collections. IEnumerable e = q.Take(q.Count()); List<MyType> l = new List<MyType>(); foreach ( object  o in e )     l.Add((MyType)o); The foreach gets executed one time (one object in the list) and then an EmptySequenceException is thrown. But q contains more than one object. When debugging, if I set the current execution location back to the list instanciation and continue to execute, the foreach loop gets execeuted twice, ...Show All

  • SQL Server better sql join

    A bit out of topic but here i can find the right person who explain me... I have 3 tables: User(ID,Name),Customer(ID,Name),Order(CustomerID,UserID,Qty) I want to know the difference (i think in performance because are both right) between: SELECT U.Name, C.Name FROM User AS U, Customer AS C, Order as O WHERE C.ID=O.CustomerID  AND U.ID=O.UserID AND U.ID=5 AND C.ID=7 ________________________ SELECT U.Name, C.Name FROM User AS U, Customer AS C, Order as O WHERE C.ID=O.CustomerID  AND U.ID=O.UserID AND O.UserID=5 AND O.CustomerID=7   Thx Hi Manuel,   ...Show All

  • Visual Basic Enable Indic fonts in vb.net

    Hello friends, I am trying to enable indic font through vb.net, by which am not gettin it how to do it. Am trying to give regional language (Marathi - India). I have just searched that there is cultureinfo class in vb.net which sets and get the current language setting....but i dont know whether i am wrong in it. I tried assigning it but dont know, its not working. Can anyone tell me how do i dot it Regards Dipti Maybe this article will help. ...Show All

  • .NET Development System.IO.SerialPort sample in V C++ Express

    Could someone please post an entire example (with includes, using , namespaces, etc) I have found several samples for C# and V Basic, but none for V C++. It could be just opening a commport and exitting. I can't quite get things set up and through build. Thanks, Rich The following is very simple example of how to user SerialPort in C++. using namespace System; using namespace System::IO::Ports; int main(array<System::String ^> ^args) { SerialPort^ serialPort = gcnew SerialPort( L"COM1", 9600, Parity::None, 1, StopBits::One); serialPort->WriteLine("Hell ...Show All

  • Visual Basic Tab Control Problems in Beta 2

    It seems that the Alignment Property for the TabControl in Visual Basic in Beta 2 has problems. If you want the Tab Pages, tabs to be on the Left or Right side of a form, they will appear once set in the designer. But, any TEXT you put on the tabs is missing. With the Tabs set to TOP the text appears normally.  There is no errors raised or anything. Just no text. Have I missed something here I looked and tried several other settings and there is nothing in the Tab Page Collection that allows the text to appear vertically as it would need to be if the tabs are set for Left or Right.  james   ...Show All

  • Windows Forms Treeview Bug

    It is not possible to make a single node bold without the end of the node text being clipped.  The work around this problem, I tried setting all nodes to bold and then setting all but one to regular.  The problem now is that the selection box when selecting a non-bold node is too big! This is quite a major problem as it means . ...Show All

  • SQL Server The parameter is incorrect. (Microsoft OLE DB Provider for Visual FoxPro) after SP1

    Having installed SP1, my SSIS packages using the OLE-DB Provider for Visual Foxpro no longer work. Using the latest version obtained from here: http://www.microsoft.com/downloads/details.aspx FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en When attempting to create one SSIS from scratch, the message thrown is: "The parameter is incorrect. (Microsoft OLE DB Provider for Visual FoxPro)." The radio button option of "Copy data from one or more tables or views" and then selecting the "Next >" throw the error. It has to be the SP1 causing the problem because nothing else changed on t ...Show All

  • Visual Studio Team System Use remote counters for load test?

    Hello - I am performing a load test using a few recorded web test scripts. The built in counters are great - but I would like to also use custom counters that are on remote servers. When I add a new computer to the 'manage counter sets' screen, I only get the option to select the built in counters, ado.net, application, etc. Is it possible to access the list of custom counters that are on the remote machine as well Thanks! Yes, you can add your own custom counter sets. Right click on the "Counter Sets" node in the load test editor and choose "Add Custom Counter Set". This will c ...Show All

  • SQL Server Alternate Synchronisation Partners

    Yes, I know synchronisation to alternate partners is deprecated in SQL2005 but.... In SQL2000 there is a Sync Partners tab in the publication properties dialog that allows you tick a checkbox for each co-publisher to be enabled as an alternate synchronisation partner. What is the equivalent in SQL2005 I've set up replication in SQL2000 following these instructions http://support.microsoft.com/ kbid=321176 and it works. Now I'm trying to do the same thing in SQL2005 but I can't find a substitute for steps 10 & 11 in the section "Set Up the Alternate Synchronisation Partner". What's the answer Thanks in advance. ...Show All

  • Windows Forms Bug in "Installation Folder" user interface dialog of setup project

    It seems that there is one bug in Setup project Installation Folder dialog. If you delete the text from the Folder Text box the Next button is not disabled. If you continue as it is then setup installs the files in default location. Is there any work around to resolve this bug The problem is that in Windows Installer based UI there is no event sent when you edit the content of an edit box, so you cannot immediately disable the Next button. As a workaround you would have to verify the content when the user clicks the Next button and diaplay an error message if the property which is associated with the e ...Show All

  • Windows Forms DataGridView - IsCurrentCellDirty and Access

    I try to implement a immediately update of a access database by a datagridview. I do it like described in the msdn: private void Form1_Load( object sender, EventArgs e) { OleDbConnection myConn = new OleDbConnection DataGrid.Properties. Settings .Default.ConnString); OleDbCommand myCom = new OleDbCommand (); myCom.Connection = myConn; myCom.CommandText = "SELECT * FROM test" ; myTab = new DataTable (); myAda = new OleDbDataAdapter (myCom); OleDbCommandBuilder myComBuilder = new OleDbCommandBuilder (myAda); myAda.Fill(myTab); this .dataGridView1.DataSource = myTab; } ...Show All

  • .NET Development skin, possible use onmouseover?

    i'm in the process of creating a base class for my application and i use stylesheet to all my controls and also use some javascript along with that... i try to create skin (see below) is that correct way to do is that possible that in skin i can use something like this: <asp:TextBox CssClass="txt" onmouseover="className='txt txthov'" onmouseout="className='txt'" runat="server"></asp:TextBox> what is the best way to accomplish or i can put that in base class but again what is the way thanks a lot ...Show All

  • .NET Development How can we debug a dotnet Assembly (i.e exe or dll )?

    I want to debug an assembly without source code given. I want to know where the error occured How can we debug a dotnet Assembly (i.e exe or dll ) Is there any tool available for this Not sure you can debug the actual compiled file (unless you can debug machine native code) but you should be able to disassemble it into MSIL code and debug that using the ILDASM tool that comes with the framework SDK ...Show All

  • Smart Device Development Cn't get VB2005 Express Beta2 and .NET Compact Framework 2.0 to work

    Hi, I've got a HP iPAC rx3715 Pocket PC with Windows Mobile 2003 Second Edition Ver4.21.1088) and a BT-338 GPS receiver & want to write some GPS logging applications. So I've just installed Visual Basic 2005 Express Beta2 (050215.4400) and Microsoft .NET Compact Framework 2.0 (Beta2) onto my PC (windows 2000 Pro SP4) with no reported errors, but when I start  click start|Programs|Visual Basic 2005 Express Beta2 then File|New Project I only find 5 Templates; Windows Application, Class Library, Console Application, My Movie Collection Starter Kit, Screen Saver Starter Kit. How do I get started when I can't find a template t ...Show All

  • Windows Forms MSI and product upgrade ideas

    Here's my thought, I just want to see what the community thinks of it. I have a tiny little application. but it has a number of dependencies. I can't use a single assembly, and I can't really rely on pulling the latest assembly from the web (a-la "no touch" deployment). So here's the idea I came up with. I want to put a web service  ...Show All

©2008 Software Development Network