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

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

Anachron

Member List

barton01
TanShaoMin
jkhax0r
NevadaBob
Shiku
Juice Johnson
teyc
SyedIrfan
Robert135
vivz
Ikhan
Le Sage
Loke Kit Kai
Kindred2k6
1337_s0u1
bigluzer
Marshes
Demian Schnaidman
Federico Caselli
ismaelc
Only Title

Anachron's Q&A profile

  • Windows Forms Socket Question

    Are sockets available as objects that you can drag into a form If they must be created from code, what headers do I need to include (I suppose specifically for winsock). How do I use SSL for my sockets Where would I include the headers The main .cpp file I tried including winsock.h in stdafx.h but every build failed with it not being able to find such a file. I tried including it in my main Project.cpp I don't get the missing file error, but I do get an error telling me: error C2065: 'SOCKET' : undeclared identifier. Start Chunk of Solution Learner Project.cpp: // Learner Project.cpp : main project file. #include "winsock2.h" #include "stda ...Show All

  • Visual C# What happened to "Windows Service" application wizard in Whidbey?

    I noticed that the Whidbey 2.0 beta (which, btw, is astonishingly good! I cry when I have to go back and develop stuff for the Mac) no longer has the "Windows Service" application generation wizard. Is it simply missing Or is Microsoft now discouraging the use of .NET applications as Windows services The C# Express SKU does not contain the Windows Service template.  However, the Pro+ editions of the product do contain that template.  It should appear under the Windows node in the new project dialog. Hope that helps! Anson Horton [ansonh@microsoft.com] Visual C# IDE PM ...Show All

  • Visual Studio Tools for Office Generating XSLT from Word 2007 document?

    Hi, After attaching an XML schema to word 2007 document, I would like to generate an XSLT file from it. In Word 2003, I can do it by running WML2XSLT.exe tool on doc.xml file. As .docx is a container with many parts in it, Is there a way in word 2007 to do the same TIA, Kris Hi Cindy, Does that mean one has to live with own predefined xslt templates with limited formatting capabilities. Or Else If I have a XML schema attached dotx template and I want to apply the DataOnly.xml to it, then do I have to parse through the document parts and edit the values on my own. You have answered me in the below thread for ...Show All

  • .NET Development Apply filter to Access Backend

    Hello, I have a Access File which i am using as backend databse in visual Studio for Asp,net website. I have a employees table and am trying to filter it by EmployeeID. When i build a query and put "@ EmployeeID" in the filter column it does not allow me. It works fine when i duplicate the table as SQL table and apply this filter. Is there a different way of applying filter since its a Access backend. Kindly let me know Thank you, Ashish Buddha You need to use for parameter markers, instead of named parameters like @paramName. If you are using Access you are using System.Data.OleDb, which ...Show All

  • Visual C++ application trying to link to MSVCP80.dll inspite of /MT compiler option

    Hi I am using Visual Studio 2005 professional on Windows XP x64 bit version. I am trying to create  a dll (say X ) which links statically to CRT libraries. For that I am using /MT option. But still when my console application .exe file tries to load it, I get the message - "This application failed to start as MSVCP80.dll could not be found".  If I copy it into the directory  it asks for MSVCR80.dll. And if I copy that too it gives an error - It is strange that another DLL Y works loads fine. Also i used depends.exe and i found that DLL X depends upon MSVCP80.dll and MSVCR80.dll while DLL Y does not. The c ...Show All

  • Windows Forms How can I assign a string value from a variable to a dropdownlist?

    I was trying to assign a string value from a variable to a dropdownList.Here is a line of code that I am using now, but I don't want to specify the index. cPrgmDirectors.Items.Insert(0, PrgmDirectors); Is there any other way that I can do please Thank you in advance1 Maybe I don't understand your question but the following works. string varValue = "My Test"; comboBox1.Items.Add(varValue); ...Show All

  • Visual C++ my visual c-code and visual c++ code after execution gives different answers

    hallo, I have a simple visual c-code and visual c++ code.both codes are supposed to give me the same answer after execution.but the c-code gives me the write answer and the c++ code gives me a wrong answer. it's a floating point algorithmus code. Can anyone help me am guessing,it's a compiler setting problem.... Divini Please post a sample exhibiting both cases. Without such sample or repro case, it is really hard to speculate what is really happening. Marking as the correct answer. Please once you post a sample reproducing the issue, feel free to unmark the post. Thanks,   Ayman Shoukry   VC++ Team ...Show All

  • SQL Server Cannot reconfigure UNION ALL task

    If you add a "Union All" task to your Data Flow the output columns get configured by the first input you connect to it. However, if you later want to modify the input columns on the inputs (perhaps after adding an upstream Data Conversion) there seems to be no way to get it to forget the original set of output columns. Ideally, there would be a button you can press to reset the output columns based on the earliest added input. At the very least it ought to forget its output columns when the last input is removed. Other tasks offer a dialogue to resolve input / output mismatches but not Union All. or am I missing somethi ...Show All

  • Visual Basic Serial Port Hex CRC Calculation, help please.

    Hi there, My program creates this output: 0xA0+0xAF+0x01+0xAA+0x6F+0x01 which then I need to add the checksum to the end. E.g. "0xC5+0x5F+0x0C+0x00+0x00=0x130 which is therefore CRC=0x30" << from my manual (but doesn't help me). So: A0+AF+01+AA+6F+01 = 2A6 or 618 as Integer. But I need the answer as a Byte. But byte's only go to 255! No where near 618! So help please in converting this 618 into a CRC Byte, please. Thanks in advance. This link has an example code http://www.freevbcode.com/ShowCode.asp ID=655&NoBox=True ...Show All

  • SQL Server Error sorting subform

    Has anyone ever gotten this error message when sorting an Access Project subform based on an SQL table "column prefix [name of subform] does not match with the table name or alias used in the query". I built a main parts form from a SQL table [Parts] using Access Project. I then added a subform [FSinvPARThistory] based on another SQL table [PartHistory] to record history for the part. The two are linked together using primary key 'ID'. I can sort the subform but then when I go to select another record on the main form I get the above error message. Can you not sort a subform If not, how can I prevent users from inadverta ...Show All

  • Visual C# Unmanaged Code (written in C++) Interop with C#

    Hi, I am trying to write a wrapper in C# for the unmanaged code written in C++. Whats wrong in the following code. C++ (Unmanaged Code) extern int DllExport __stdcall GetName( LPSTR name) {    name = "Smith, Allan";    strcat( name, "\0");    return strlen( name); } Wrapper Definition (Written in C#) [DllImport("Unmanaged.Dll", SetLastError=true, ThrowOnUnmappableChar=true, EntryPoint="GetName)] public static extern int GetName( [MarshalAs(UnmanagedType.LPStr)] string name); Wrapper function (written in C#) public static int GetName( string name) {    int rc;    r ...Show All

  • Windows Forms Format a DataGrid row based on value of column

    Hi all,  I have a datagrid displaying trivial information, however, I need to color the row of the DataGrid dependant on the value of one column. I've figured out how to change the color of the column, but not the whole row. Any help appreicated. ie. if the column lastname contains 'jones' then make the entire row red.  if it contains 'smith' make  ...Show All

  • Visual Studio Crystal Reports XI Installation

    Hi, I have created lots of reports using Crystal Reports bundled with VS.Net and have deployed it in production server.We recently got a licensed copy of CR XI Developer edition.I am not sure how to go about the installation.This developer edition came with 2 developer edition CDS and 3 CR Server CDs. Should I install everything on my machine or developer edition in my machine and CR Server on my production server Thanks, Sudha Hello Sudha, Which version of Visual Studio are you using If this is Visual Studio 2005 then you should wait until Crystal Reports XI R2 ships to deploy. If this is Visual Studio .NET 2003 then you can install t ...Show All

  • SQL Server .NET Remoting or Direct Connection to SQL Server 2005 Express

    Hi,   I'm currently designing an application that I want to be able to connect to a SQL Server 2005 Express either locally, over the LAN or through the internet. What is the best way to go about this:- 1. Should I allow the client application to connect directly to the SQL Server 2005 Express database whether the database be on the local machine, over the LAN or through the internet. 2. Should I use .NET Remoting by use of a server application to allow connection to the SQL Server 2005 Express database whether they be local, over the LAN or through the internet. 3. Should I architect the client application to connect to t ...Show All

  • Visual C# Dynamic menu bar

    Hi. Your help is very much appreciated. I am building Win app in which I'm allowing the users to add entity-types (i.e. entity-type = client or supplier,etc..) at run time .(I dynamically add tables in the db to support this requirement [I add client table, supplier table, etc.). However, I want to menu bar to reflect the existing enitity types. So I want the menu bat to look something like: Clients | Suppliers .... Find Find Add Add Show Show How can it be done It looks easy to add menu items at run time through code , but I didn't find a way to add event handlers functions at run time... Any suggestions Thanks Roy ...Show All

©2008 Software Development Network