• RELEVANCY SCORE 3.88

    DB:3.88:Visual Basic 6.0 Max Record Property To C Sharp jz




    What is equivalent C sharp logic using Visual Basic 6.0 Max number of records property. I am working with a disconnected datatable.

    Transferring logic to C sharp.

    Visual Basic:

    recordset.MaxRecords

    C sharp:

    using datatable

    ????????

    DB:3.88:Visual Basic 6.0 Max Record Property To C Sharp jz

    you can use
    DataTable.Rows.Count
    to Find the Max Records Like VB6

    Code
    DataTable dt = new DataTable();
    //Code for Loading Data into DataTable
    int MaxRecords = dt.Rows.Count;

    Happy Coding, RDRaja

  • RELEVANCY SCORE 3.73

    DB:3.73:A C Sharp Basic Question! s9




     
    I wonder the difference between the abstract class and the interface!
    Someone help me!

    DB:3.73:A C Sharp Basic Question! s9

     xiaobin700 wrote:

     
    Thanks
    Can a method in an abstract  class be overload? And how about an interface?

  • RELEVANCY SCORE 3.45

    DB:3.45:Learning Csharp To Make A Basic Web Based Im? d1




    Hey allI am wondering where to go to learn c-sharp well enough that I can use it to build a simple web-based IM system.  I can use c++ for console apps (advanced math was about as far as I got there...) and Visual Basic for basic stuff too.Thanks in advance!~Lag

    DB:3.45:Learning Csharp To Make A Basic Web Based Im? d1

    Well if you know visual basic, why not do it in visual basic?
    Either way, I'm thinking you'll be best off with Web Developer (choose C# OR VB as a code-behind language), and AJAX.  Web developer has the templates to get AJAX working easy and fast and it will help you avoid page-loads every time there's a message sent... (Look at the new forums at microsoft, for example the C# forum (not-express)).
     

  • RELEVANCY SCORE 3.36

    DB:3.36:Detachable Speakers From The Sharp Lc46d92u, Lc52d92u... f7


    I have a question about the Detachable Speakers from the Sharp LC46D92U, LC52D92U...Is the Sharp Detachable Speakers can be use as a Center Speaker by connecting to an A/V Receiver...Description of the Sharp Detachable Speakers from the Sharp LC46D92U, LC52D92U...Speaker SystemSpeaker Woofer.....4"X1-37/64"(10X4cm)X4Tweeter.....3/4"(2.0cm)X2Impedance.....4 OHMSRated Power.....15W+15W

  • RELEVANCY SCORE 3.34

    DB:3.34:Richiamare Controlli Da Form Diversi In C#...? x7


    Salve a tutti ragazzi e esperti in programmazione. Sono nuovo in questo forum, mi sono iscritto da poco e vorrei fare una domanda riguardante C#(see sharp). Sapreste dirmi come richiamare da un Form controlli di Form diversi? Facciamo conto che io abbia
    un Form di nome esempio.cs . Vorrei, da esempio.xaml , richiamare un controllo contenuto in esempio2.cs. Come posso fare? Se sbaglio dei termini specifici è perché sono un novellino programmatore di 11 anni (perdonate
    la mia ignoranza...conosco solo il linguaggio Basic).

    DB:3.34:Richiamare Controlli Da Form Diversi In C#...? x7

    Ciao ErPaciocco878,

    Grazie mille, mi sei stato molto d'aiuto. Ora posso continuare il mio progetto che ho interrotto proprio per questo sciocco problema.

    di nulla , buona serata.
    Ciao.
    Carmelo La Monica Visual Basic Tips e Tricks Blog
    WordPress.com Blog
    Twitter
    Blogger
    CrystalwebDotNetGroup

  • RELEVANCY SCORE 3.29

    DB:3.29:How To Get The Mail Ids Of The User Present In A Group In Active Directory Using C Sharp 3z


    Hi,
    How to get the mail id's of the user present in a group in active directory using c sharp?bharani

    DB:3.29:How To Get The Mail Ids Of The User Present In A Group In Active Directory Using C Sharp 3z

    Could you describe more about your requirement? What is the progress? What have you done?Leo Liu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 3.22

    DB:3.22:Where Is The Sln File? xk


    I am new to programming and C#, so pardon the question if it is a really obvious one.
    When I create a new project in C Sharp 2010 Express it does not create an sln file in the the directory with all the other project files. Does it store this file somewhere else?

    Thanks,

    J.

    DB:3.22:Where Is The Sln File? xk

    it might be that the solution file is created but you dont see that in the Solution exploere on Visual Studio.. if so just check if you are set the setting to show the solution file.
    Go to Tools-Options-Solution you should find the setting there.
    I dont have VS on this Laptop now, if you able to find that great else i will repost this once i have VS.Regards, Krishnakant This answers, please mark as answered, if this helps please mark as helpful.

  • RELEVANCY SCORE 3.14

    DB:3.14:Treeview In Windows Application Using C Sharp kd


    my question is to get an output shown below-c-(all directories)-sub directories-files  similarly for all drivers , like when we browse for a file

    DB:3.14:Treeview In Windows Application Using C Sharp kd

    Hi TEENA BP, Do you mean you want to develop an application like Windows Explorer in C#? Please look at the following sample http://www.codeproject.com/KB/cs/tv-lv-basic41.aspx In this sample, on the left side, there is a TreeView, the right side is a ListView. It use the DirectoryInfor and FileInfo to get all these items and render them. If you have anything unclear, please feel free to tell me. Sincerely, Kira Qian This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Please mark the replies as answers if they help and unmark if they don't.

  • RELEVANCY SCORE 3.14

    DB:3.14:Cortar Conexo xk


    Olá alguem tem ideia de como corto a conexão via c sharp em determinado horário

    DB:3.14:Cortar Conexo xk

    Do meu computador, quero colocar um timer e dependento do tempo corto a conexo do meu pc.
    Se voce quer para a internet no seu computador, voce nao precisa de desenvolver um programa que faz isto.
    Se voce Nao usar a internet e como se voce estivesse a colocar um timer no seu computador ou a si mesmo.
    Colocar aqui um codigo que faz isto e muito perigoso, este forum e utilizados e acessado por muita gente, por isso, acho que aqui ninguem te vai ajudar a fazer isto. Muita gente pode pegar o codigo e fazer malicias com isto.
    Vai ao Google e faca voce mesmo a procura.
    Obrigado.Just Be Humble Malange!

  • RELEVANCY SCORE 3.12

    DB:3.12:Sample Web Application Using Asp C Sharp. js


    Hi, I want to create a Web Application using C-Sharp which uses NI ActiveX Controls. Any sample for this kind of Application will be helpful.Thanks,Vinod.

    DB:3.12:Sample Web Application Using Asp C Sharp. js

    The ActiveX controls will be instantiated on the client as they are when you use them in any other web page, so there are not any special considerations for using the Measurement Studio ActiveX controls in ASP.NET. The page will be like any other page, and then you can use the IE object tag to embed the ActiveX control in the page. For more information, see the Microsoft KB article HOW TO: Host ActiveX Controls in a Web Form. I also suggest reading through some of the previous discussions about ASP.NET and ActiveX controls from this forum, such as the ones at this link and this link.- Elton

  • RELEVANCY SCORE 3.05

    DB:3.05:Set A Text Object In Crystal Report In C Sharp 3p


    hihow we can change the text of textobject in crystal report form at C sharp form?tanks for your answers!

    DB:3.05:Set A Text Object In Crystal Report In C Sharp 3p

    Hey Ranjith I am using the code nsnippet but am getting the same issue...the text isnt changing on report. Can u please tell me how you solved it? I am surely missing something Thanks in advance.

  • RELEVANCY SCORE 3.05

    DB:3.05:Sacar Un Mensaje En C Sharp 31


    Hola
    Hw vsito el ayuda de msdn para sacar el mensaje para c sharp, pero me gustaria que me ayuden a sacarlo en este codigo donde dice MENSAJETEXTO(La conexion es :strCnx), como lo hago en C Sharp?
    Gracias

    public string getCadenaConexion()
    {

    string strCnx = ConfigurationManager.ConnectionStrings[MiConexion].ConnectionString;

    if (object.ReferenceEquals(strCnx, string.Empty))
    {
    return string.Empty;
    }
    else
    { MENSAJETEXTO (la conexion es: strCnx)
    return strCnx;
    }
    }

    DB:3.05:Sacar Un Mensaje En C Sharp 31

    Deberías comprobar el error que estás teniendo....
    De todas maneras puedes probar lo siguiente con el propio SQL Server Management Studio a ver si eres capaz de conectarte a la Base de Datos o no.
    A parte de eso, ¿Estás usando SQL Data Adapter y DataSet por algun motivo concreto? Porque no creas tus clases de Modelo y usas por ejemplo un SqlDataReader y una lista para obtener los datos. También puedes utilizar Entity framework por ejemplo....Javier Torrecilla
    Para el correcto funcionamiento, y que otros usuarios se puedan beneficiar de la solucion de esta pregunta por favor marca las respuestas que te hayan ayudado como Respuesta.
    Si la respuesta te ha sido util Votala.
    Mi Blog: Jtorrecilla
    Enlace a Faq de Winforms en Ingles Muy bueno
    TabControl con Mejoras

  • RELEVANCY SCORE 3.04

    DB:3.04:Convert C Sharp Code Into Vb Net 33



    Hi, looking for code for a work, I found this:

    public K[] LockIndexBufferK() where K : struct
    {
    return (K[])myMesh.LockIndexBuffer(typeof(K), LockFlags.None, new int[] { myMesh.NumberFaces * 3 });
    }
    but I would like to know how is translated into Visual Basic .NET

    DB:3.04:Convert C Sharp Code Into Vb Net 33


    First to give the answer, yet again, not given credit for it..
    Excellent....gotta love MSDN
    Thanks Pepu

    John Grove - TFD Group, Senior Software Engineer, EI Division, http://www.tfdg.com

  • RELEVANCY SCORE 3.04

    DB:3.04:The Last: Translate C Sharp Code Into Vb Net xx



    Hi, looking for code for a work, I found this:

    public K[] LockIndexBufferK() where K : struct
    {
    return (K[])myMesh.LockIndexBuffer(typeof(K), LockFlags.None, new int[] { myMesh.NumberFaces * 3 });
    }
    but I would like to know how is translated into Visual Basic .NET

    DB:3.04:The Last: Translate C Sharp Code Into Vb Net xx

    using this converter:
    http://www.developerfusion.com/tools/convert/csharp-to-vb
    Public Function LockIndexBuffer(Of K As Structure)() As K()

    Return DirectCast(myMesh.LockIndexBuffer(GetType(K), LockFlags.None, New Integer() {myMesh.NumberFaces * 3}), K())

    End Function

  • RELEVANCY SCORE 3.02

    DB:3.02:Speech Recognition And Choices 8d


    Hey Everyone,

    I have been learning how to program in c# for the last couple of weeks and found a fun project on Youtube to build a Jarvis like program. I am trying to learn how to make the system accept a variable so i can put that
    into a google search.
    eg.
    Me: Jarvis search google for c sharp programming
    - puts c sharp Programming into a variable called Variable
    Jarvis: right away sir
    System.Diagnostics.Process.Start(https://www.google.com.au/?gws_rd=cr#fp=456c2186ba13fccq= variable);

    This may be a dumb question or I might be asking too much but Can anyone point me in the right direction? If you need anymore code or information please ask.

    Regards,

    Michael

    DB:3.02:Speech Recognition And Choices 8d

    Hello,
    Thanks for your posting .
    From your description, I know that you want to put a variable into a google search, you
    can try to do like this :

    using System;
    using System.Diagnostics;
    using System.ComponentModel;
    namespace MyProcessSample
    {
    class MyProcess
    {
    static void Main()
    {
    string myFavoritesPath = Environment.GetFolderPath(Environment.SpecialFolder.Favorites);
    MyProcess myProcess = new MyProcess();
    string VAR1 = c sharp Programming;
    ProcessStartInfo startInfo = new ProcessStartInfo(IExplore.exe);
    startInfo.WindowStyle = ProcessWindowStyle.Minimized;
    startInfo.Arguments = https://www.google.com.au/?gws_rd=cr#fp=456c2186ba13fccq= VAR1;
    Process.Start(startInfo);
    }
    }
    }

    For an additional information
    :Process.Start Method (String)
    Hope these help.Lilia Gong THE CONTENT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED
    Thanks
    MSDN Community Support

    Please remember to Mark as Answer the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

  • RELEVANCY SCORE 3.01

    DB:3.01:Ado.Net 7p


    What is the difference between Ado library in Visual Basic and Ado.net Library in c sharp?

    S.K Nayak

    DB:3.01:Ado.Net 7p

    It is part of the .NET Framework. So irrespective of your .NET language, VB or C# you are essentially accessing the same thing which is the .NET Framework.

  • RELEVANCY SCORE 3.01

    DB:3.01:Visual C# 2005 Step By Step Via Visual C# 2010 Express? md


    Sorry, I was unsure where to post this question.
    Basically, I just found as bargainbook entitled Visual C# 2005 Step by Step by John Sharp. Eager to start picking up the basics of C# (after hearing a friend of mine state how powerful it can be).
    I decided what the heck $7 book, if I learn at least something from it = win. So I purchased it.
    The book states that it needs Visual studio 2005 standard edition. Unfortunately I do not have the money to purchase a standard edition for the purpose of learning the basics.
    I am currently downloading the 2010 visual studio Express Edition. Will it be sufficient for the basic exercises that I will come accross in the book? If not, what problems may I run in to by using the free Express Edition?

    Thanks.

  • RELEVANCY SCORE 2.97

    DB:2.97:How To... C++ To Metro a1


    Before i asking question , i want to write about myself ...
    I'm 20 years old boy , study in Diploma Computer And Electronic Engineering, And i'm doing a Final Project to graduate .. 8 months ago ... i started to plan , search information , download video ,source code ... and i decided use C# for my project Clinical
    Information Management System, its similar like an application connect to a database and show off the data stores in software... and i'm lost and wasting time , i dunno how to start the project ...and yesterday i watched all the video download from http://channel9.msdn.com/Series/C-Sharp-Fundamentals-Development-for-Absolute-Beginners
    24 video for beginners .. i still dunno how ...
    My tool in computer - Microsoft Blend 4 ultimate , VS 2010 ,Access ..And Window8 developer in laptop ...
    My question is .. Any Advice to the beginner to start develop Software application?
    Should i use Visual Basic ? because its RIA application or C# XML WPF metro style Access database?
    I'm confusing now ....

    if i using C to build it.... because i never study before C ,where to download All video about C to develop metro app ...i mean the faster way , and the important things in C to Metro style...Developing is part of being a developer.

    DB:2.97:How To... C++ To Metro a1

    Thanks dude, I'm reading Microsoft Application Architecture Guide,2nd Edition
    I already build a database with SQL server 2008

    Ok, i will learn WCF later :D
    wish you have a nice day :)Developing is part of being a developer.

  • RELEVANCY SCORE 2.96

    DB:2.96:How To Mark Points By Mouse Clicks On A Windows Form In A C-Sharp(C#) Application 79


    How to mark points by mouse clicks on a windows form in a c-sharp(c#) application .I am facing problem regarding in creating this application .please help me as quickly as possibe.

    DB:2.96:How To Mark Points By Mouse Clicks On A Windows Form In A C-Sharp(C#) Application 79

     You could check out Jack Xu's book Practical Numerical Methods with C#..... And second... The point of a least sauare fit is not to go though all the point, but rader fit a polynom of a disired degree to be on a minimum distance from your points... If your function must go though all your points you should use some other techninc like the Lagrange polynom...
    Or read this... http://www.emis.de/journals/BBMS/Bulletin/sup962/gander.pdfOr post some code...

    Kenneth

  • RELEVANCY SCORE 2.95

    DB:2.95:Combining C Sharp And Vb Projects sa


    Hi guys,
    I want to know if it is normal to combine C-sharp project with a VB project, will not there have some problems?
    Thank
    you in advance.

    DB:2.95:Combining C Sharp And Vb Projects sa

    To insure maximum compatibility, I would create the Main exe using VB. Then any class libraries (dll) in C# should work fine when referenced from the main process. Each referenced class library must be in a separate project, but they can be in the same solution.
    Because of some legacy support for VB.NET there might be some language features that are incompatible with C#.Dan Randolph -
    My Code Samples List

  • RELEVANCY SCORE 2.95

    DB:2.95:How Can I Hide A Checkboxlist Item On Page Load In C Sharp? ak


    I have a checkboxlist with 4 fields.
    While displaying the check box list in the page, i need to hide one item using C Sharp.
    Can anyone help me on this?
    Arun Rajiah www.arunrajiah.com

    DB:2.95:How Can I Hide A Checkboxlist Item On Page Load In C Sharp? ak

    Hello!
    Obviously, if you don't have a reference to the check box on the page, you have to find the required check box in the tree of controls of the Page. If you know id of the check box, you can find recursively this control using, for example, method FindControlRecursive
    described here -
    http://dotnetfollower.com/wordpress/2010/12/sharepoint-add-onchange-attribute-to-dropdownchoicefield/.If you don't know the ID, you can get all check boxes on the page using, for example, the method

    FindControlRecursiveByType..Net Follower (http://dotnetfollower.com)

  • RELEVANCY SCORE 2.94

    DB:2.94:What It Mean With A Sigle Sharp Sign Before A Variable? 3s


    sometimes I see in C #AString as a function parameter, I didn't know what it mean and how to use it. Is there anyone who can tell me. It seems somewhat basic but I can't find the answer on net-searching.
    Thanks!

    DB:2.94:What It Mean With A Sigle Sharp Sign Before A Variable? 3s

    Perhaps you're seeing the stringizing (#) operator.

    Stringizing Operator (#)
    http://msdn.microsoft.com/en-US/library/7e3a913x.aspx

    Also see:

    #define Directive (C/C)
    http://msdn.microsoft.com/en-US/library/teas0593%28v=VS.100%29.aspx

    Preprocessor Operators
    http://msdn.microsoft.com/en-US/library/wy090hkc.aspx

    - Wayne

  • RELEVANCY SCORE 2.93

    DB:2.93:A Animation Question js


    Hello friends,
    While navigating on Silverlight.net,I saw a site in ShowCase.http://marcinstypulski.studentlive.pl/.It's loading animation is very beatiful.And I be curious How Do I make a animation like
    it.I wanted to do a shape or path and it will fill.I research the Tween Motion in WPF but I didn't found.

    I tried to explain.I hope,understand me.
    C Sharp Coder
    Microsoft .NET Developer

    DB:2.93:A Animation Question js

    Thanks for two reply.I have solved problem with Clip property.Very thanks for help.
    C Sharp Coder

  • RELEVANCY SCORE 2.93

    DB:2.93:Is The Excel Importer Extension Source Also Available In C Sharp? p8


    I need to do some some adaptations in the outstanding excel importer extension.
    As far as I know, the sources are only available in visual basic. I only master c sharp. Would be great if I could find the sources in c sharp so that I have a clean starting point.
    Thanks
    paul.paul van bladel

  • RELEVANCY SCORE 2.93

    DB:2.93:Visual Basic Or C Sharp For Silverlight ? j9


    hi
    web sites work same fast that write visual basic or C sharp related to visual web developer..
    what about silverlight ? Should i use visual basic or C sharp for silverlight ? Which one work more fast ?
    Thanks

    DB:2.93:Visual Basic Or C Sharp For Silverlight ? j9

    hi
    if the performance would be similar, how can C # be more elegant ? what is reason ? can i do everything with Visual Basic that anybody do with C # ?
    secondly aspx that code visual basic or C # turn java. Silverlight turn java too ?
    Thanks

    This is a personal view only. At the end of the day both C# and VB translate to MSIL and then byte code, so presumably they could be similar in performance assuming decent compilers on both end.
    However, in general I measure the elegance of a language by how much it helps, or hinders, the activity of translating creativity into productivity. If I write in a particular language and it allows me to focus on the problem at hand, rather than working
    on low-level details or strange syntax or subtle error, the language is elegant to me. I think C# does a better job than VB in that regard. For people who are used to VB they may disagree, but at the end of the day it is because they are really more productive
    with VB. Which is fine. But since you said you are about to learn either one, I would suggest C#.

  • RELEVANCY SCORE 2.93

    DB:2.93:Blinking Light C Sharp zc



    Hey @jacszz,


    Your question is very common: how do I convert X script between JS and C#? To help answer it, I put together a handy blog post detailing everything you need to know:


    http://fragileearthstudios.com/2011/10/18/unity-converting-between-c-and-javascript-2/


    Good luck!

    DB:2.93:Blinking Light C Sharp zc


    Hey @jacszz,


    Your question is very common: how do I convert X script between JS and C#? To help answer it, I put together a handy blog post detailing everything you need to know:


    http://fragileearthstudios.com/2011/10/18/unity-converting-between-c-and-javascript-2/


    Good luck!

  • RELEVANCY SCORE 2.93

    DB:2.93:How To Print A Grid Values Using C Sharp ss


    Hi all,
    I am new to c sharp and I want to print my data grid values. I used a data table to display data in the grid. Please help me.
    Anuradha.

    DB:2.93:How To Print A Grid Values Using C Sharp ss


    1. Create a function to call a stored procedure and get data in a dataset
    This involves:
    - Creating connection
    - Feeding a command to the connection
    - Using the above command object to fill the Data Adapter
    - Fill contents from Data Adapter ro Dataset

    public DataSet FuncName()
    {
    SqlConnection connection = DBConnect();
    SqlCommand cmd = new SqlCommand(stored proc name, connection);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter sda = new SqlDataAdapter(cmd);
    DataSet ds = new DataSet();
    sda.Fill(ds);
    return ds;
    }

    2. Once you have the data in a dataset object, you can fill it in the grid, excel sheet etc.
    DataSet ds = new DataSet();
    ds = FuncName
    if (ds.Tables[0].Rows.Count 0)
    {
    grid.DataSource = ds;
    grid.DataBind();
    }

    I too am somewhere between a beginner and intermediate :)
    so hope this helps !

  • RELEVANCY SCORE 2.93

    DB:2.93:Se Puede Usar Unity Y C# Sharp d9


    hola a todos
    he estado investigando sobre mototres graficos y uno gratuito que todo el mundo recomienda es unity3d

    pero he visto ejemplos que parece y se usa c# sharp y otros ejemplos parece y usan c y asi difernetes lenguajes

    alguien aqui sabe si realmente se puede usar unity3d y c# sharp
    y si es asi conocen algun manual o alun link para seguir investigando.

    DB:2.93:Se Puede Usar Unity Y C# Sharp d9

    Si se puede utilizar. Puedes crear scripts en c# para utilizar con unity 3d.
    Chequea este enlace.
    http://www.youtube.com/watch?v=KCraWTTlUKc
    Saludos.

  • RELEVANCY SCORE 2.93

    DB:2.93:Create A Zip File Using C Sharp jk


    Hi all,
    i am using c sharp and i have a list box which containing file paths. i want to create a zip file of those list of files programmatically using c sharp. Please guide me. Thanks

    DB:2.93:Create A Zip File Using C Sharp jk

    hi Saiprasad01
    Hey, I didnt know that. So i will install DotNetZip and try. Thank you very much for your advice.
    Best regards

  • RELEVANCY SCORE 2.93

    DB:2.93:Ftpwebrequest 77


    Who can i make a FtpWebRequest over an Implicit SSL on C sharp ?

    DB:2.93:Ftpwebrequest 77

    http://social.msdn.microsoft.com/forums/en-US/netfxnetcom/thread/491341d3-0dd6-4c60-94c9-ca4d4cf3450a/Gaurav Khanna

  • RELEVANCY SCORE 2.92

    DB:2.92:Very Basic 2d Game-Tutorial For C# sm


    Hi all,

    does anyone know a goodwebsite where i can learn how to write very basic 2d games with c# for beginners?
    I like to learn more.

    RegardsSA, C Sharp 2008 beginner

    DB:2.92:Very Basic 2d Game-Tutorial For C# sm

    Thank you vali. I will take a look.

    RegardsSA, C Sharp 2008 beginner

  • RELEVANCY SCORE 2.92

    DB:2.92:Accessing The Keyboard In C++ mk


    Hello all,
    I have searched MSDN for info on using the keyboard to provide input, such as using the arrow keys. But all I found was for C#( C Sharp ) and Visual Basic. Can anyone give how to do it in C++?

    DB:2.92:Accessing The Keyboard In C++ mk

    Hopefully you've discovered that documenting what kind of class library and project type you use is important to get the answer you need.  For Windows Forms apps, you can override the ProcessCmdKey() method in your form:  protected:    virtual bool ProcessCmdKey(Message% msg, Keys keyData) override {      if (keyData == Keys::Up) {        MessageBox::Show(Up arrow key pressed);        return true;      }      return Form::ProcessCmdKey(msg, keyData);    } Hans Passant.

  • RELEVANCY SCORE 2.91

    DB:2.91:Query About Treeview In C Sharp a7


    Hi,
    How do I retrieve the root node of a selected node from treeview using c sharp.

    DB:2.91:Query About Treeview In C Sharp a7

    private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
    {
    TreeNode rootNode = e.Node;
    while (rootNode.Parent != null)
    {
    rootNode = rootNode.Parent;
    }

    MessageBox.Show(SelectedNode: e.Node Environment.NewLine RootNode: rootNode.Text);
    }
    Or:
    private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
    {
    TreeNode rootNode = e.Node;

    string separator = treeView1.PathSeparator;
    if (rootNode.FullPath.Contains(separator))
    {
    string rootPath = rootNode.FullPath.Split(separator.ToCharArray(), StringSplitOptions.RemoveEmptyEntries)[0];
    rootNode = treeView1.Nodes[rootPath];
    }

    MessageBox.Show(SelectedNode: e.Node Environment.NewLine RootNode: rootNode.Text);
    }

  • RELEVANCY SCORE 2.91

    DB:2.91:Tutorial In Vb How To Do Same In C Sharp Please Help? m7


    hello all
    i found a good tutorial how to build a poll system in visual studio butunfortunatelyit made by vb ,
    can some one do same in c sharp ...
    the tutorial in this
    link
    many thanks

    DB:2.91:Tutorial In Vb How To Do Same In C Sharp Please Help? m7

    Hi Syamand,

    First I'd like to let you know that your requirement is off-topic here in the current forum, while I know some about it.

    The sample you found in your original post is developed with ASP.NET. So here I fulfilled an ASP.NET sample for you, I use an XML file but not the database to store thevotes, If you wanna use database, I think it would be easy after checking out my sample:

    Here I am not showing the main code but directly provide the download link of my sample project for you:
    Please find the TestWebApp_Vote project in the list:
    https://skydrive.live.com/?sc=documentscid=63c0c5f1723a3dc0#cid=63C0C5F1723A3DC0id=63C0C5F1723A3DC0%21167sc=documents.

    Have a nice day,Leo Liu [MSFT]
    MSDN Community Support | Feedback to us

  • RELEVANCY SCORE 2.90

    DB:2.90:Get The Number Of Parent Node And Text Of Selected Node In Tree View In C Sharp 9j


    Hey hiiiiiiiiiiiiiiii
    i am new in programming my question is how can i get all the parent node text of selected node in a treeview using c sharp

    plese help me urgent

    DB:2.90:Get The Number Of Parent Node And Text Of Selected Node In Tree View In C Sharp 9j

    Either examine the Parent property and recurse upwards through the tree or, if you only want the
    text of each [parent] Node, look at the FullPath property of the Node you're starting from.

    Regards, Phill W.

  • RELEVANCY SCORE 2.88

    DB:2.88:Report Sharp-Shooter sk


    Report Sharp-Shooter può essere utilizzato con visual basic 2010?

    DB:2.88:Report Sharp-Shooter sk

    Può essere utilizzato con tutte le versioni di VS. Dalla versione 6.0 è disponibile anche per progetti WPF, oltre che per progetti Windows Forms,ASP.NET e Silverlight. Se vuoi approfondire scrivimi in privato perché gestisco il supporto per PerpetuumSoft
    in Italia.
    Saluti,Alberto De Luca [MVP - Visual Basic .NET]

  • RELEVANCY SCORE 2.86

    DB:2.86:Ssis 2012 Package Having Script Task To Unzip A File cz


    hello,
    can some one help me out to unzip a file using script task without using execute process task. I am having basic knowledge of c sharp, I was trying out with the VB code and I am getting the below error.

    Please help me in solving the issue.

    Thanks,
    AnilKumar

    DB:2.86:Ssis 2012 Package Having Script Task To Unzip A File cz


    Hi SSISjoost,
    Even its coming up with the code provided by you, that screen shot missing in the above post. so please check here.

    Thanks,
    Anilkumar

  • RELEVANCY SCORE 2.85

    DB:2.85:C# Sharp 8k


    Hello everybody. I have a question. Will the sdk still run after installing it, if i dont install visual studio?

    DB:2.85:C# Sharp 8k

    Hello joan,

    Thank you for your post!

    I'd like to suggest posting your question in one of the MSDN Forums:

    Visual C# Developer Center
    Visual C# Forums
    Visual C# General

  • RELEVANCY SCORE 2.84

    DB:2.84:Desperate Help With Window State Issue pk


    Hi, i am tearing my hair out here, i am using WPF, i am writing in visual basic, for various reasons, i can not swap to use c sharp, all i wish to do is save the current state of a window, and restore it when the program is next opened. Please can someone
    help me, this is killing me! Thanks.

    If someone could show me an example or send me a link i would appreciate it, all the tutorials i have found seem to be in c sharp, and if i convert the files, it all falls to pieces, is this even possible? Thanks.
    Boseley

    DB:2.84:Desperate Help With Window State Issue pk

    We are temporarily marking
    this as Answer, if you have any concerns or new findings; please feel free to let me know.
    Best regards.Annabella Luo[MSFT]
    MSDN Community Support | Feedback to us

  • RELEVANCY SCORE 2.84

    DB:2.84:How Can We Identify How Many Times The Object Of A Class Is Created In C Sharp cd


    Hi ,
    how can we get how many times the object of a class is created in c sharp

    DB:2.84:How Can We Identify How Many Times The Object Of A Class Is Created In C Sharp cd

    Hi,
    If you are talking about the instance inside the CLR, you can check with SOS Debugging extension.
    http://msdn.microsoft.com/en-us/library/bb190764(v=vs.110).aspx
    or
    http://msdn.microsoft.com/en-US/library/7zxbks7z(v=vs.80).aspx

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 2.84

    DB:2.84:Use C# Lines Of Code In Visual C++ 2008 Expess Edition 9m


    Hi, I working on visual c++ application, and trying to insert c# code in it. The following is in c-sharp:
    using ICSharpCode.SharpZipLib.Zip;

    FastZip fz = new FastZip();

    fz.ExtractZip(filename,system_dir,"");// what it does it unzips a zip file to a directory.My question, what should I do to visual c++ project properties? Make sure it understand and compiles and builds with c-sharp lines of code?Anybody?

    DB:2.84:Use C# Lines Of Code In Visual C++ 2008 Expess Edition 9m

    Hi,i dont have idea about VC++.you can repost your thread in vc++.i hope thr you can get the help.http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/threadsBest Regards,
    C.Gnanadurai
    -----------------------
    Please mark the post as answer if it is helpfull to you

  • RELEVANCY SCORE 2.83

    DB:2.83:Vb# Que? jf


    hola gente, hoy lei en un foro que en la version de visual studio 2010, visual basic .net iba a pasar a ser a ser visual basic sharp, en modo de transicion a C#, a la version nueva del 2012 que seria directamente C#
    Saludos

    DB:2.83:Vb# Que? jf

    Ok, puede ser verdad, no habia reparado en el tema de la fecha.
    Gracias pro el dato,
    Saludos y a seguir programando, de todas maneras tendria que empezar a programar en C#...

  • RELEVANCY SCORE 2.83

    DB:2.83:How To Attach A Database Within Windows Applications In C Sharp xa


    i don't to it

    DB:2.83:How To Attach A Database Within Windows Applications In C Sharp xa

    Hi,
    This thread will be moved to off-topic since you haven't give enough information.
    If you have any other question, you can create a new thread.
    Best regards,Chester Hong
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 2.83

    DB:2.83:Pass Variable Value From C Sharp To Xaml 18


    Hi, I'm new to XAML, how can I pass a variable value in c sharp such as (double d = 10.0) to a field in XAML (like Height = d)? Any help would be much appreciated!

    DB:2.83:Pass Variable Value From C Sharp To Xaml 18

    In the long term you'll want to learn about DataBinding as it will reduce the amount of code that you will need for doing things like this. Since you are new to Silvelright I'll give you the easiest method that I know (easiest here just means requiring
    the least amount of background information. In many cases DataBinding translates to the method with less effort).

    In your XAML ensure the textbox has a name.

    TextBox x:Name=SomeTextBox /

    From within the code-behind (C# code) you can directly manipulate the textbox by it's name. To change the text just set the Text property

    SomeTextBox.Text = Some literal value;
    SomeTextBox.Text = d.ToString();

  • RELEVANCY SCORE 2.82

    DB:2.82:Utilisation Des Ressources Dans C Sharp Help!!! 77


    comment incruster un fichier 'text par ex dans un programme C sharp et comment l'appeler(a par Process.start)?????
    merci de m'aider j'y suis depuis 3jrs je fai appel votre connaissance(je ne suis qu'un dbuttant je m'eexcuse si je blasfme)..
    cordialement

    DB:2.82:Utilisation Des Ressources Dans C Sharp Help!!! 77

    bonjournikho, y a t-il un moyen pour diriger o le fichier que tu cr parir de file.writeallbyte (nom du file,emplacement ressource) sera loger;
    je voudrait le cr dans un rprtoire spcifique (ou je voudrait ).
    si oui fait mwa signe merci beaucoup.
    cordialement.

  • RELEVANCY SCORE 2.82

    DB:2.82:Settings For New Blend Project For Silverlight? 3a


    another question from me... when i start a new project in blend, wanting to make something for silverlight, what options should i choose? Control Library, rather than Standard Application, right? and should i choose Visual C sharp or Visual Basic? Oh
    so confused...

  • RELEVANCY SCORE 2.82

    DB:2.82:Como Conseguir El Valor Devuelto Desde Un Metodo Main() x1


    Hola:
    Recien empiezo a usar c sharp y se me planteo la siguiente pregunta. Si el metodo main puede devolver un valor, siendo este utilizable desde un archivo .bat si problema, como podria hacer lo mismo desde una aplicacion en c sharp.
    Gracias...

    DB:2.82:Como Conseguir El Valor Devuelto Desde Un Metodo Main() x1

    Para aclarar el asunto, usted puede devolver un valor desde .net usando
    Environment.ExitCode. De hecho, la documentación de dicha propiedad sugiere que es posible cambiar la definición de main() para que devuelva
    int. Si esto se hace, entonces uno puede devolver un valor directamente desde
    main(), o al menos eso es lo que yo entiendo después de leer MSDN.Jose R. MCP
    Code Samples

  • RELEVANCY SCORE 2.82

    DB:2.82:Create Table Into The Data Source Using Sqlceconnection In C Sharp ad


    Hi Frnds,
    I tried to create a simple database using SqlCeConnection in C Sharp.
    While trying the below command I got following issue. Kindly let me know the solution for the same.

    Thanks,
    Anand.S
    Anand Sampath

    DB:2.82:Create Table Into The Data Source Using Sqlceconnection In C Sharp ad

    To create the database, just call cmd.ExecuteNonQuery().
    Comment out data adaptor and data table part.Donate Your Car / Buy Donated Cars in California Charity Thanks, Nishanth Mohan

  • RELEVANCY SCORE 2.81

    DB:2.81:Windows Phone C Sharp Development Template Visual Studio Pro 2013 aj


    Hi,

    I just downloaded Visual Studio Pro 2013 with the aim of developing an application in C sharp.
    The problem is the only templates available when creating a new project are in VB.
    Does anyone know how I can add the C sharp Windows Phone templates to my version of Visual Studio?
    I searched the online templates in C sharp but there isn't anything available in this category.

    DB:2.81:Windows Phone C Sharp Development Template Visual Studio Pro 2013 aj

    Click on Other Languages - Visual C# for Visual C# templates

    Gaurav Khanna | Microsoft VB.NET MVP | Microsoft Community Contributor

  • RELEVANCY SCORE 2.81

    DB:2.81:End, Stop, Application.Exit Coming Up With Compile Errors.. k9


    Yes, I know this is probally a noob question, but...Does anybody know why end; , stop; , and application.exit; wont' work?
    It comes up with a compile error, would what I have (or don't have) in Using effect anything.
    I'm just moving from visual basic 2005 to C Sharp, and I need enough knowledge to be able to convert one of my big vb games to C sharp. So right now I'm just trying out different statements, and stuff, seeing how it works with C#.

  • RELEVANCY SCORE 2.81

    DB:2.81:Como Crear Menu Con Iconos En Visual C Sharp 9p


    que tal disculpen, mi ignorancia, peor como puedo crear un menu en visual c sharp en el formulario con iconos?
    es decir agregarle iconos a este menu por ejemplo:

    DB:2.81:Como Crear Menu Con Iconos En Visual C Sharp 9p

    Que tal Stang.

    El control ToolStrip tiene la opción de agregarle una imagen a los botones del menú.
    Despues de asignarle una imagen solo tienes que cambiarle la propiedad DisplayStyle para que muestre -solo la imagen- o -la imagen y el texto- dependiendo de lo que quieras mostrar...

    Espero haber sido de ayuda. Saludos.

    Darian Ramos Desarrollador Yamaha de México

  • RELEVANCY SCORE 2.81

    DB:2.81:Help Using A C Sharp Class From Javascript f9



    http://unity3d.com/support/documentation/ScriptReference/index.Script_compilation_28Advanced29.html (section 4 in particular)

    DB:2.81:Help Using A C Sharp Class From Javascript f9


    http://unity3d.com/support/documentation/ScriptReference/index.Script_compilation_28Advanced29.html (section 4 in particular)

  • RELEVANCY SCORE 2.81

    DB:2.81:Convert Json String To C Sharp Values jd



    You can take a look at these options:


    Json.Net


    DataContractJsonSerializer


    JavaScriptSerializer

    DB:2.81:Convert Json String To C Sharp Values jd


    A json file is nothing more than a string. So you can isolate the part of the file you need and parse it into the type you need.

    float GetFloatFromJson(string jsonFile, string key, bool frontToken) // key is the term we are after
    offset = frontToken ? 5 : 4; // This is to remove the : before the value, it could be 6
    // If there is no front token then pass on false

    int index = jsonFile.IndexOf(key)key.Length + offset; // At this point index should point to the first digit of the value

    string price = jsonFile.Substring(index);// Remove anything before the first digit
    int quotation = price.IndexOf(\); // Look for first
    price = price.Substring(0, quotation); // Isolate the digits
    float f = -1;
    try{
    f = float.Parse(price); // Parse to float
    }
    catch(Exception){
    // maybe here add some extra info to the user
    f = -1;
    }
    finally{
    return f;
    }
    }



    Note that I have not tried this so you could try and see if it goes.

  • RELEVANCY SCORE 2.80

    DB:2.80:C Sharp Syntax Question Time_T 87


    Hi,
    I have trending data stored for decades.
    It stores a timestamp in a 32-bit time-t format as used by the c runtime library function localtime
    Now in a c sharp application I need to examine this value and determine the month.
    What's the easiest/best-practice way to convert this number?

    Boyd

    BDM

    DB:2.80:C Sharp Syntax Question Time_T 87

    Found it:

    static DateTime MakeDateTime(int secondsSince1970)
    {
    DateTime reference = new DateTime(1970, 1, 1);

    return reference.AddSeconds(secondsSince1970);
    }

    BoydBDM

  • RELEVANCY SCORE 2.80

    DB:2.80:Ridiculously Basic Hard Corner (Crease) Problem? sa


    Hello,I am sorry to complain about such a basic problem (noob!) but I just cannot figure this out?!All I want to do is very very basic and should not be causing me the issues that it is. I simply want the corner detailed in my attached image (inside the red circle) to be a completely hard corner when sub-divided with Turbosmooth. The corner as it is in the yellow circle remains completely sharp angled no matter how many times I add iterations. However I just cannot get this to happen for the corner in the red circle?! It's driving me nuts and completely counter-productive to what should be a few seconds of modelling.Okay, so I have tried many variations of modelling this particular corner to get the right topology for a sharp corner and nothing works effectively. I either start to get a curved corner (not wanted) as the iterations go up or I get a sharp corner, but with terrible 'pinching' to the surrounding surface.If someone could kindly advise me of what I need to do, I would be very grateful. This has completely halted my modelling until I can learn how to produce such a simple sharp (inner) corner|crease.Oh, just a note.. I have removed the edges from the corner inside the red circle just so that it didn't add confusion to my question. I have tried many variations of connecting vertices and adding edges (chamfer, extrude two new edges etc etc) to this corner, some worked better than others, but ultimately none of them produced the same nice sharp corner that the one in the yellow circle has regardless of iterations.Thank you in advance!Edit: These are the different edge variants I have tried (different colours) with unsuccessful results.

    DB:2.80:Ridiculously Basic Hard Corner (Crease) Problem? sa

    check this scripts:http://www.scriptspot.com/3ds-max/scripts/quad-chamferhttp://www.scriptspot.com/3ds-max/news/maxunchamferAlso lots of game artist used to change chamfers for connect method. On edit poly-edit-edges use constrains and then connect tool witch. Now you can mover your lines close to the edges and still have option to use loops and delete whole loops. Mesh is much cleaner with this method.

  • RELEVANCY SCORE 2.80

    DB:2.80:How To Reuse A Javacode In C-Sharp. sm


    HiI have some utility classes which are used for reading/ writing content into docbase using i/o stream.I used java utility class along with DFC code, its working fine.But I want to use these java utility classes in c-sharp along with DFC-PIA5.3 code. Could you pls give idea, how to use java utility classes in c-sharp. Thanks Regardsvittal

    DB:2.80:How To Reuse A Javacode In C-Sharp. sm

    You should read the Web Services Framework (WSF) documentation. Using this approach, you would create an SBO that would handle all requests coming from a consuming web application written in C#.NET. You would then have to create a WSDL so that the web service and the consuming application can communicate with one another via SOAP messages.

  • RELEVANCY SCORE 2.78

    DB:2.78:Thread: Sharp Gateway 1k


    Does anyone know if there is a Sharp printer Gateway?

    Roland

    DB:2.78:Thread: Sharp Gateway 1k

    hopefully, using the Novell gateway will get things back on the rails

    Cheers Dave

    -' + '-

    Dave Parkes [NSCS]

    Occasionally resident at http://support-forums.novell.com/

    You can register now for the EMEA GroupWise Summit - June 28/29 The

    Hague, Netherlands

    http://www.groupwiser.net/Summit

  • RELEVANCY SCORE 2.78

    DB:2.78:Convert Chm To Pdf Using C Sharp 3p


    hi,
    i had a chm file i need to convert it into pdf file using some c sharp code.

    please help me out.
    thank you in advance.

    - David

    DB:2.78:Convert Chm To Pdf Using C Sharp 3p

    Google provides:
    http://stackoverflow.com/questions/692428/how-to-convert-chm-to-pdfLet's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2

  • RELEVANCY SCORE 2.78

    DB:2.78:Abrir Pagina Em Nova Janela Asp.Net Com Codificao Visual Basic 9j


    Ol amigos eu vi muitas dicas mas nenhuma me serivu ja que estou craiando uma soluo em asp.net mas com a linguagem visual basic que pelo que vi incompativel tanto com c sharp e java, ento agradeceria se alguem tivesse
    uma dica de como abria uma pagina aspx ~clicando num boto em visual basic eu tentei o:
    response.redirect(RELATORIO.ASPX) MAS SEMPRE ABRE NAS MESMAS JANELAS TENTEI JAVA E NO ROLOU, OBRIGADO

    DB:2.78:Abrir Pagina Em Nova Janela Asp.Net Com Codificao Visual Basic 9j

    Ola luiz como to usando a linguagem b fica meio dificil ja que sou iniciante ento acabei por descobrir que usando um hyper link eu tenho a opo target blank, ja esta abrindo na nova janela agora vou quebrar a cabea para editar
    o tanho da janela. obrigado de qq forma :)

  • RELEVANCY SCORE 2.78

    DB:2.78:Want To Convert C Code To C Sharp 77


    char c ;
    printf(Enter a character:);
    c=getch(); //anyone help me ?

    switch(c)
    {
    case1:
    printf(you pressed 1)
    break;
    .......

    DB:2.78:Want To Convert C Code To C Sharp 77

    You will need the other overload of the ReadKey function:

    c = Console.ReadKey(true).KeyChar;

  • RELEVANCY SCORE 2.78

    DB:2.78:Recordset Properties To Datatable Properties 8d


    What are c sharp equivalent logic to visual basic 6.0 recordset properties. Close, Open, Update, UpdateBatch, AbsolutePosition, Find, Delete, MoveFirst, MoveNext, MoveLast, in visual basic 6.0 using a disconnected (Datatable)? We are migrating
    from Visual Basic 6.0 to C Sharp. So we moving to datatables in C sharp. Is there a tool that can quick identify the equivalent logic in c sharp. I am trying to document logic below.

    Visual Basic 6.0 Recordset properties
    Close (Not supported) Closes a Recordset
    Delete (Not supported) Deletes a record or a group of records
    Open (Not supported) Opens a database element that gives you access to records in a table, the results of a query, or to a saved Recordset Find(Not supported) Searches for a record in a Recordset that satisfies a specified criteria
    MoveFirst(Not supported) Moves the record pointer to the first record
    MoveNext(Not supported) Moves the record pointer to the next record
    MoveLast(Not supported) Moves the record pointer to the Last record
    Update (Not supported) Saves all changes made to a single record in a Recordset object
    UpdateBatch (Not supported) Saves all changes in a Recordset to the database. Used when working in batch update mode
    AbsolutePosition (Not supported) Sets or returns a value that specifies the ordinal position of the current record in the Recordset object

    DB:2.78:Recordset Properties To Datatable Properties 8d

    Hi,
    i'm sorry to break it to you, but there is no 1 to 1 mapping to what a recordset is in VB6 and what ADO.net is in C# or vb.net.
    A recordset mixes the responsabilities of getting the data, AND containing it.
    This is different in ADO.NET. A dataset with its datatables are mere containers. Filling them is done by DataAdapter objects, or, if made at design time, you could use TableAdapters, which are customized classes geared towards a specific datatable, and internally
    using a DataAdapter.
    DataAdapters can be configured using a select statement, and generate insert, update and delete statements, which it can use to synchronize a datatable back to the database, using the 'Update' method.

    DataAdapters, on a lower level, use Command objects (~query containers), Connection objects (~connection to db) and DataReaders (~a 'firehose' forwardonly recordset).
    If your dataset contains parent-child datatables, and you need to 'update' them back to the database, you have to follow a certain order: first delete, bottom up, the deleted records, then, top down, you need to add and update the added or changed records.
    From VS 2008 on there is a 'Manager' object in a (designed)dataset that does this for you.
    Having a 'current' record, and moving forward and backward, is provided by a separate object called a DataView object. By default, every datatable has one (defaultview property), but you can create as many as you want. Binding controls to datatables allways
    uses dataviews internally.
    I hope this brings you a step closer to your goal.Regards, Nico
    pdfaid

  • RELEVANCY SCORE 2.78

    DB:2.78:Trying To Set A Javascript Variable From C Sharp 9f



    You can call one language from another - but they have to be compiled in the right order for access. See Accessing Javascript from C# for more details.


    (Despite the name of the Question, it explains compilation order, and so applies to calling either language from the other.)

    DB:2.78:Trying To Set A Javascript Variable From C Sharp 9f


    You can call one language from another - but they have to be compiled in the right order for access. See Accessing Javascript from C# for more details.


    (Despite the name of the Question, it explains compilation order, and so applies to calling either language from the other.)

  • RELEVANCY SCORE 2.78

    DB:2.78:Re: Which Api? md


    First, I apologize for "cross-posting" this but since I'm asking general
    questions about mulitipe Adesk API's I thought it would
    be appropriate in this case.

    Basically, Im looking for input on what would be the best API for me to
    devote my time to. I've been using Lisp for years now
    but recently started using VBA (I had to if I wanted to tinker with
    Inventor). I avoided vba for a long time because it seemed
    so "foreign" to me, with the dot syntax and all. After just a week of
    VBA'ing though, I've grown to love it.
    Its MUCH easier than Lisp, much more intuitive, much easier to read,
    maintain and debug. It also seems much faster. So now I scorn
    Lisp for anything but the simplest of macro's.
    My intent, after completing my first major project with VBA was to "port" it
    over to standalone VB6. Now though Im wondering,
    since Im embarking on a new (to me) language should I just skip the vb6 step
    and go to VB.net? In that same vein, should I just
    skip VB altogether and go to C-sharp?
    I avoided C for a long time too after tinkering with it a bit several years
    ago, it seemed that to build even a simple
    acad addon with C required a PhD in computer science so that you could first
    master C then grapple with the rather large
    libraries composing the object arx system.
    At a glance, the learning curve for Arx programming looked very much like
    the Eifel tower. Needless to say I gave up on that

    approach, I didnt have the time (and money) to spend so much trying to learn
    it, especially when Lisp (and later vb) were SO much
    easier.
    I have heard though that C sharp is considerably easier to master that C/C++
    and so assume arx programming should be a bit
    less painful as well, and apparently the Arx system is moving in that
    direction.

    In a nutshell then is my question, should I stick with VBA, go to VB6, go to
    VB.net or take the plunge into C sharp?
    To give this question a little perspective, here are my requirements:

    1. Most important, the one thing I miss from Lisp is the ability to create
    what appear to be "native" commands, i.e. (defun

    c:mycommand) this isnt possible with vba, and I assume its not with vb6. It
    is possibe with C, but what about VB.net or C sharp?

    2. The ability to create custom entities would be real nice, been wanting to
    do that for a long time. Obviously this cant be
    done with Lisp or VBA. Last I heard it could only be done with C++/Arx. Can
    the .Nets do it? VB or C?

    3. It would be nice if I could create code that would be compatible all the
    way back to Acad2000, this of course will
    sometimes be impossible. Im under the impresson that only Acad2005 supports
    VB.net, although I thought I heard someone
    say they were doing .net with Acad2004. I have also heard that Inventor only
    partially supports .net right now.

    4. Lastly, as you may have gathered, I also want to create apps/utilies for
    Inventor, thats what got me into VB in
    the first place.

    As an aside, if I decide to use VB6, how is the executable to be compiled,
    as an activeX.dll? activeX.exe? neither?
    How are functions inside this executable called from within Acad? I assume
    the "vbarun" construct will not work.
    Is the process similair for VB.net?
    I have found tons of helpfull VBA projects on the net but have not as of yet
    found any examples of "standalone"
    apps/utilities designed for Acad. Are there any examples out there?

    Thanks much for any tips

    --
    Perry Leets
    Inovec Optimization and Control Systems
    Eugene, Oregon

    DB:2.78:Re: Which Api? md

    Thanks for clarifying that Tony

    "Tony Tanzillo" wrote in message
    news:40cf85e6$1_1@newsprd01...
    In Visual Studio.NET, There are two types of C++,
    Managed, and Unmanaged. Managed C++ generates
    managed code (e.g., the same thing that C# and
    VB.NET generate). Unmanaged C++, which is all
    there was in earlier releases of Visual C++,
    generates .lib files that are linked into native
    machine code.

    VC++.NET can also create mixed mode binaries
    that can contain both managed and unmanaged
    code.

    --
    http://www.caddzone.com

    AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005
    http://www.acadxtabs.com

    AutoCAD based Security Planning Solutions:
    http://www.caddzone.com/securityplanning

  • RELEVANCY SCORE 2.78

    DB:2.78:C Sharp Training 3a


    Hello:
    I am not a developer but am interested in learning c sharp at a beginning level. There seems to be an overabundance of training dvd's etc. out there. I am wondering if anyonr has a specific recommendation for a good tutorial on beginning C Sharp.
    Thanks

    DB:2.78:C Sharp Training 3a

    Hi Cedarman,

    Welcome to MSDN forums! I'm glad to see your active participation and discussion in MSDN forums. Basedon my understanding your issue was wanted to know the basicconcept of C#.If I'm not misunderstood you I'll suggest you some links that's
    for C# beginner to learn it. Please refer to links below:
    The C# Station Tutorial
    http://www.csharp-station.com/Tutorials/Lesson01.aspx

    C# Tutorialhttp://msdn.microsoft.com/en-us/library/aa288436(VS.71).aspx

    Hope these will help you!
    If you still have any doubt and concern about this issue, please let me know. If I misunderstood you, please kindly elaborate your question.Please Mark as Answered
    If this is helpful Or Un-Mark as Answered if it is not helpful.
    Best Regards,
    Yan Jun
    Microsoft Online Community Support

  • RELEVANCY SCORE 2.78

    DB:2.78:Asp.Net Timed-Out sx


    Scenario, a .NET 1.0 c-sharp application tried to execute an ASP.NET 1.1 web service method and get a 'The operation has timed-out' reply.This happens at a customers site, without visual studio to help debugging.The ASP.NET web service is located on the same computer (WinServer3000) as the c-sharp application. The WinServer is running standard Microsoft IIS.My question is, are there any utilities that let me monitor asp.net request to IIS to help me debug this situation?

    DB:2.78:Asp.Net Timed-Out sx

    These problems are usually related to IIS6 permissions to run both Web Service and Asp.net so check below for how  to debug Asp.net with the CLR debugger and the IIS6 folder permissions.
    http://support.microsoft.com/kb/893657
    http://support.microsoft.com/kb/812614Asp.net MVP, MCPD Web C#, MCITP BI MCTS SQL Server 2005

  • RELEVANCY SCORE 2.78

    DB:2.78:Use Of Ping Command With Error Level? df


    Could get a sort of ping command from inside Access and read the error level like in a batch? I wanted to build on this with basic console commands but I can't think of a practical way to make a batch file and Access talk to each other. Thanks everyone.

    Mediocre Access 2010 | (Baby) Beginner C Sharp

    DB:2.78:Use Of Ping Command With Error Level? df

    thanks!Mediocre Access 2010 | (Baby) Beginner C Sharp

  • RELEVANCY SCORE 2.77

    DB:2.77:Pasar De Vb.Net A C Sharp , Instruccion For Each 38


    Hola
    Tengo este codigo en vb.net y lo quisiera pasar a c sharp, gracias de antemano

    Public Sub Deshabilitartextbox()

    Dim Obj As Control
    For Each Obj In Me.Controls
    If TypeOf Obj Is TextBox Then Obj.Enabled = False
    Next

    End Sub

    DB:2.77:Pasar De Vb.Net A C Sharp , Instruccion For Each 38

    public void Deshabilitartextbox()
    {
    Control Obj = null;
    foreach (Control Obj_loopVariable in Controls)
    {
    Obj = Obj_loopVariable;
    if (Obj is TextBox) Obj.Enabled = false;
    }
    }

    // ó

    public void Deshabilitartextbox()
    {
    foreach (TextBox Obj_loopVariable in Controls.OfTypeTextBox())
    {
    Obj_loopVariable.Enabled = false;
    }
    }

    [W]

  • RELEVANCY SCORE 2.77

    DB:2.77:Rcw Reference Count With Events pf


    Hello all, I have a question similar to this unresolved question:
    http://stackoverflow.com/questions/3785118/removing-com-event-handlers-automatically-in-c
    I have a simple COM object and a simple C# sharp program. The COM object has a single event on it:

    [STAThread]
    static void Main()
    {
    MyObject obj = new MyObject();
    obj.MyEvent += MyEventHandler;
    }

    DB:2.77:Rcw Reference Count With Events pf

    I apologize for the delay, my email notification was not working for some reason.
    Using these functions I can unsafely cause the underlying COM object to be released, but it doesn't solve the problem of the event not automatically being unwired.
    I find this issue especially puzzling since the exact same program works perfectly in VB.NET.

  • RELEVANCY SCORE 2.77

    DB:2.77:Execute A Stored Procedure Using C Sharp And Enterprise Library Finally Return Output As Xml 99


    Can some one guide me how i can execute Stored procdure using C sharp and Enterprise Library
    and return the output of the SP as an XML.

    thanks

    DB:2.77:Execute A Stored Procedure Using C Sharp And Enterprise Library Finally Return Output As Xml 99

    There is a forum dedicated to Enterprise Library:
    http://entlib.codeplex.com/discussions?ProjectName=entlib
    Consider to ask there. You might also want to explain in more detail what your stored procedure does i.e. whether it already returns XML (for instance by using T-SQL's FOR XML clause) or what kind of result you currently you get that you want to output as
    XML.
    MVP Data Platform Development
    My blog

  • RELEVANCY SCORE 2.76

    DB:2.76:Cual Es El Equivalente En C Sharp Al Archivo Module.Vb De Vb.Net? x9


    Estoy tratando de pasar unas soluciones de visual basic a c sharp, cual es el equivalente enc sharp a vb.net?
    Gracias de antemano

    DB:2.76:Cual Es El Equivalente En C Sharp Al Archivo Module.Vb De Vb.Net? x9

    no existen modulos en c#, solo puede usar clases
    quizas una clase con metodo definidos como static

    public static class NombreClass{
    public static MombreMetodo(){
    //aqui codigo
    }
    }

    saluosLeandro Tuttini

    Blog
    Buenos Aires
    Argentina

  • RELEVANCY SCORE 2.75

    DB:2.75:Set A Text Object In Crystal Report In C Sharp Form ks


    hihow we can change text of textobject in crystal report form at C sharp form?tanks for your answers!

    DB:2.75:Set A Text Object In Crystal Report In C Sharp Form ks

    Hi!Please use this forum for Crystal Report issues: http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/threads/Regards,Lucian Baciu, MCTS,
    http://studentclub.ro/lucians_weblog

  • RELEVANCY SCORE 2.75

    DB:2.75:Ive Just Downloaded C Sharp But Cant Registor It. Can Anybody Help? 1d


    Hi, i've just downloaded C sharp express but i cant registor it. The reason is i can't allow the cookies from the page because i don't know the address. Does anyone know a way round this? If u can help thanks alot.

    DB:2.75:Ive Just Downloaded C Sharp But Cant Registor It. Can Anybody Help? 1d

    Hi,
    Choose the Product Registration menu option from the help menu inside Express Edition application you want to register, you are allowed to register one edition multiple times.
    Otherwise, try to download an image that you can burn to a CD and install on any computer without internet. Manual installation instructions here
    Thanks

  • RELEVANCY SCORE 2.74

    DB:2.74:Hello Just A Quick Question zs



    hello i was just wondering what was a 77 grade basic on is it a a b c d

    DB:2.74:Hello Just A Quick Question zs


    This is great to know. Thank you @Jenn Booth. I was wondering how the grade scale work.

  • RELEVANCY SCORE 2.73

    DB:2.73:Is C Sharp (C#) Easy To Learn? ap


    Hello, I want to know is C Sharp a good language which I can learn easily? If yes, then what are it's benefits? I want to be a Game developer and I am familiar with Unity 3D Game Engine (Where C# is the scripting language). I have just started learning
    C# from the MSDN eBook - C Sharp For Sharp Kids. Plzz Reply soon.

    DB:2.73:Is C Sharp (C#) Easy To Learn? ap

    Hello,
    Thank you for your post! I would suggest posting your question in one of the forums
    site: http://msdn.microsoft.com/en-us/beginner/default.aspx.

    Hope that helps!

    Have a happy day!

    Thanks Regards,PRADEEP THORAT Tier 2 Application Support Server and Tools Online Engineering Live Services Team

  • RELEVANCY SCORE 2.73

    DB:2.73:Switching Camera - C Sharp zc



    Have a look at this forum post about switching between camera:


    http://forum.unity3d.com/threads/40099-change-camera

  • RELEVANCY SCORE 2.73

    DB:2.73:Storing In An Ms Access(Database) Using A C Sharp Windows Form 97


    How can i store the information of the c sharp programming (windows form) in a database so that after executing the program the information will not terminate and I can retrieve it anytime?

  • RELEVANCY SCORE 2.73

    DB:2.73:Keeping A Texture Sharp After Reduction 1m



    Im a complete neewbie on creating with Gimp, I'm currently using Gimp 2.6, my question is,when ever I reduce the size of a texture and upload it to SL, it loses most of its sharp detail. Is there any trick or method to use to keep the original crispness of the picture?

    DB:2.73:Keeping A Texture Sharp After Reduction 1m


    Thanks Rolig for your info, Ill see what i can do ,,and thanks to both of you for talking in English to a tech challanged neewbie lol

  • RELEVANCY SCORE 2.73

    DB:2.73:Help With Dlls x3


    hi. its my first time i write at this forum, am sorry  couse i begin here with question, but i hope somebody could help me, when program in masm32 i used inpout32.dll to handle parallel and serial ports, i tried to used in c++,, DEV c
    ++ and it worked, in visual basic five i used an ocx, i dont remmber the name rigth now, now days i program  in c sharp, visual basic . net 2005, but i cant use inpout32.dll
    i now the order [inpoout].......................bla bla bla
    but it doesnt work, please if someone has any idea about it or have another solution to solve my problem plz answer this.
    i tried to recompile de dll. in dev c++ but it doesnt work , i tired to push datas and doesnt work too, so plz help-- Jher Von Arbanel-- form hell

    DB:2.73:Help With Dlls x3

    You might need Platform Invoke, P/Invoke.
    http://msdn2.microsoft.com/en-us/library/aa446536.aspx
    http://search.msdn.microsoft.com/Default.aspx?locale=en-USRefinement=00Query=p%2finvokelang=en-us%2fDefault.aspxBrand=msdn
     Rudedog

  • RELEVANCY SCORE 2.73

    DB:2.73:Access Sql Server Using C Sharp ds


    can anyone please tell me ow to read a culoumn that has image data (the data is customer attributes like age, email...)using c sharp and get it to a file.the data is contained in image column.

    DB:2.73:Access Sql Server Using C Sharp ds

    i can get the image data out using t sql, but what i really want is there is cutomer data stored like phone number, name , email address,if i just get the image out using tsql(used a convert from binary to hex to char), the data is unorganized.but i want to have column by column info out of that image.im providing with what i get out out of the sqlserver from the image column.i want to get each column out sepearely from something unorganized

  • RELEVANCY SCORE 2.73

    DB:2.73:Generar Reporte C Sharp 2008 a7


    TENGO UNA CONSULTA AL REALIZAR EL REPORTE EN CRYSTAL REPORT ( C SHARP 2008 ) , ANTES LO HACIA SIN DATASET, PERO LUEGO COMENCE A UTILIZAR EL DATASET Y ME PARECIO MARAVILLOSO PERO CUAL ES LA DIFERENCIA EN USAR DATASET Y NO USAR DATASET ...
    GRACIAS.

    JAVB

    DB:2.73:Generar Reporte C Sharp 2008 a7

    generar datos desde codigo sin una db; es decir desde un arreglo o una lista en el mismo c sharp? , algu ejemplo tendrais.
    Gracias.JAVB

  • RELEVANCY SCORE 2.73

    DB:2.73:How Can I Load Data When User Open Excel ? 3c


    hi guys ,

    A question, I need to load data when user open excel?
    My develop environment : Visual studio 2005 , vsto05,
    Language: c sharp
    thanks all .

    DB:2.73:How Can I Load Data When User Open Excel ? 3c

    Hello Roby,
    I am writing to check the status of the issue on your side. Could you please let me know if this suggestion works for or not? If you have any question or concern, please feel free to follow up or unmark it back. Have a nice day.Bessie Zhao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 2.73

    DB:2.73:C Sharp Code To Close Tcp Connection Established By Any Process j3


    I have a process which creates TCP connection with another machine on network.
    How can close this connection using c sharp code

    DB:2.73:C Sharp Code To Close Tcp Connection Established By Any Process j3

    Good ideea, but I need the process running, and only 'simulating' a connection lost scenario.

  • RELEVANCY SCORE 2.73

    DB:2.73:How To Inherit The Shared Document In C Sharp 9s



    To customize the feature shared document webpart using c sharp. To create a web part which having the same features and need to additional feature to
    that please provide the details how to inherit the shared document web part.
    Thanks in advance

    DB:2.73:How To Inherit The Shared Document In C Sharp 9s

    That's actually the ListView Web Part. If you wanted to actually overwrite the whole Web Part control, here's the class you want to inherit from:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.listviewwebpart.aspx
    You could also try using the Data View Web Part if you just wanted to customize the look and feel of the list using SharePoint Designer. (Here's a nice intro as to how you can use it.)
    http://lcbridge.nl/vision/2009/dvwp.htm
    If what you're trying to do is change the look and feel, you could try creating a custom List Schema and modifying the view XSLT. Then, you would still be using the List View Web Part, but the underlying library you'd be accessing would have the view you
    wanted installed in it already.
    http://msdn.microsoft.com/en-us/library/ff604021.aspxblog.beckybertram.com |
    RSS |
    @beckybertram

  • RELEVANCY SCORE 2.73

    DB:2.73:Tv Calibration Settings Lost After Reset?? - Best Buy: Unboxed fz


    I recently had my 70" Sharp calibrated by the Geek Squad. I ran into issues with the Sharp audio, and Sharp C/S had me reset the TV to factory settings. I am terrified that the settings I cannot access have been reset. I can only change the basic settings on this set (which I have from the calibration), but going into the greens, blues, reds, etc are only accessible through the service menu. Was the calibration ruined by resetting the tv?






    Solved!
    Go to Solution.

    DB:2.73:Tv Calibration Settings Lost After Reset?? - Best Buy: Unboxed fz


    When a factory reset is performed, the only settings that are reset are the ones that are custom set, I.E. picture mode, audio settings, channel scans, etc. The calibration is done by accessing the service menu of the television and adjusting things like the gamma and is permanently programmed into the television. The only way that you would lose these settings would be if you replaced the entire main board.

  • RELEVANCY SCORE 2.73

    DB:2.73:Visual Basic Dot Net Certification?? 19


    Hello, I'm a VB.Net programmer who wants to get certified, but when I was browsing in Microsoft website I only found certifications available for C Sharp but no VB.Net.

    Please show me which exams I should take (starting from easier to harder) in order to get certified in VB.Net?
    It would be helpful to write the exam numbers.
    Thanks,

    DB:2.73:Visual Basic Dot Net Certification?? 19

    Hi proud2000,
    Welcomes you to MSDN forums.
    First one thing,
    If you start microsoft exam, then it asking choose language:
    C#.Net or VB.NET?
    In that you want to select VB.NET if you interested to attand vb.net exam.
    The same you want to select C#.Net if you interested to attand C#.net exam.
    Look at the following links to take the Microsoft exams path.

    Certifications exams

  • RELEVANCY SCORE 2.73

    DB:2.73:Simple Basic Question 7p


    Dear;
    I have a very simple basic question. Does JNI supports C or C++ language or we can use some other languages as Basic or C# code in it?

    If Yes then please suggest me of the a descriptive article for further reading.

    Thanking in advance.

    DB:2.73:Simple Basic Question 7p

    C# or manged C++ seems to require some additional tricks though. So regular C++ or C is easier.

  • RELEVANCY SCORE 2.73

    DB:2.73:Xml Reading dm


     
    hi guys,
     
    here i come again with some stupid question,
    rigth now im learning c sharp, but that is not
    the main problem, the problem is that my boss
    moved me to the c sharp developing group.
     
    i need to mess with an xml file, i dont have any idea of
    how to work with it.
     
    could somebody help me with a breaf and clear
    explanation of the thing.
     
    i'll make it clear, what i exactly gotta do is
    read a node of the xml file to populate a combobox.
    its simple, no?
     
    thanks for your time....
     

    DB:2.73:Xml Reading dm

    no one is expecting you to our homework - it's that the mass of trees is so deep and thick that it is frustrating and sometimes impossible to get find a path through the forest.It's like there  is a giant user's guide out therre but no QUIK START guide so you have a place to start from.  Yes, I guess I'll have to buy that 40.00 book online and wait a week until i can get an answer.just great suggestion - do a websearch on c# xml read nodes - let's see how helpful that is.

  • RELEVANCY SCORE 2.73

    DB:2.73:Read Pdf File In Windows Phone Apps In C Sharp 1p


    Hello,
    any one please help to read a pdf file in windows phone using c sharp program.

    DB:2.73:Read Pdf File In Windows Phone Apps In C Sharp 1p

    As Rob Caplan suggested normal way to open file is to launch it using following code
    Await Windows.System.Launcher.LaunchFileAsync(file)
    And if you are looking to read PDF file in Windows Phone then you can try iTextSharp MPL project available on codeplex. I haven't tried reading PDF file using this, so not very sure if it would work or not.
    http://itextsharpsl.codeplex.com/
    Gaurav Khanna | Microsoft VB.NET MVP | Microsoft Community Contributor

  • RELEVANCY SCORE 2.73

    DB:2.73:Calling C Sharp From Php And Getting Result sz


    Im trying to call a C sharp program using PHP and I need to get the resukt: I cant show the c sharp code but here is the PHP: $cmd = ('C:\\Path\\to\\scriptTest.exe'); $results = array(); passthru($cmd,$results); print_r($num); print_r($results); ? /body /html Here is the command line call to the c sharp program in windows: C:\\Path\\to\\scriptTest.exe I have been getting '1' as the result, I assume that is an error? Maybe should be '0'. How can I call a C sharp program from PHP?

    DB:2.73:Calling C Sharp From Php And Getting Result sz

    I know nothing about php but I found some article which might help you.http://www.devarticles.com/c/a/PHP/Using-the-.NET-Assembly-in-PHP/http://www.phpbuilder.com/columns/jayesh20021103.php3?print_mode=1But posting on a PHP Forum might be more helpful as expert in PHP can help you there.Gaurav Khanna
    Visual Basic MVP

  • RELEVANCY SCORE 2.73

    DB:2.73:Crear Hipervinculo Desde C Sharp jp


    Que tal estoy exportando data del c sharp 2008 a excel 2007 y quiero saber como puedo mandarle a una Celda en epecifio el Hipervinculo.
    Gracias.

    JAVB

    DB:2.73:Crear Hipervinculo Desde C Sharp jp

    Gracias. pero no me genera el hipervinculo, lo que yo hago es expotar correos al excel y queda de la siguiente manera :
    correo1@hotmail.com ;correo2@hotmail.com ;correo3@hotmail.com
    y en esa Linea quiero colocarle un hipervinculo que cuando le de click en el EXCEL me lleve a la pantalla siguiente :

    Gracias

    JAVB

  • RELEVANCY SCORE 2.73

    DB:2.73:What Is The Difference Between Web Form And Windows Form In Visual Studio Using C Sharp Language ? dj


    Hi all
    could you please tell me what is the difference in create a web form and windows form using c sharp ,? can i use the same code or same concept for both ??

    Regards

  • RELEVANCY SCORE 2.73

    DB:2.73:Help Using A C Sharp Class From Javascript jz



    http://unity3d.com/support/documentation/ScriptReference/index.Script_compilation_28Advanced29.html (section 4 in particular)

    DB:2.73:Help Using A C Sharp Class From Javascript jz


    http://unity3d.com/support/documentation/ScriptReference/index.Script_compilation_28Advanced29.html (section 4 in particular)

  • RELEVANCY SCORE 2.73

    DB:2.73:Iad In Unity 5.1 7s



    Yes, can someone please advise? I have one game done it unity in C sharp, haven't a CLUE how to get it to serve iAds on iOS. Also, a basic AndryBots style game... how on earth do we implement iAds??!!

    DB:2.73:Iad In Unity 5.1 7s


    Follow the documentation here. file:///Applications/Unity/Documentation/ScriptReference/ADBannerView.html



    Create a new script and copy paste the example from the documentation.


    Create an empty game object and attach the script to it.


    Build your game and test it on your iOS device to check. iAds wont work with the xcode simulator, you need to test it on your device.

  • RELEVANCY SCORE 2.73

    DB:2.73:Keys Translation In Unicodes xk


    hello..
    i have created windows form application using C sharp. i have a textBox on Form1 and when i debug the solution then i click in textBox and press A key then it should read unicode and write my local language(Urdu) word.
    please explain my question with example.
    thanks.

    DB:2.73:Keys Translation In Unicodes xk

    Thank you.
    This is the answer of my question.

  • RELEVANCY SCORE 2.73

    DB:2.73:How To Trigger Mailmerge In Custom Workflow Activity C Sharp p8


    I want to generate and populate an existing mailmerge template inside a step of a workflow C-sharp. Once I have a handle on the document, I will be publishing it to MOSS web services which I think I have a handle on.

    DB:2.73:How To Trigger Mailmerge In Custom Workflow Activity C Sharp p8

    Asynchronous operations are incapable of interacting with the UI, because they have no hooks into the UI. The mail-merge process is a local process for the computer with which a user is operating CRM and calls CRM data into Office through a dynamically
    generated data-source. Its initialization from the CRM (when using the Mail Merge button) is triggered by Javascript/ActiveX calls to a locally installed copy of Office, and is not instantiated by the CRM platform in any way.
    Now, it may be possible for you to install a copy of Office onto the server, and call appropriate functions/DLLs in C# to massage a mail merge automatically from the server... but I doubt highly that a user will be able to interact with it (since that would
    involve different domain users both instantiating and using Office processes), and if so, I doubt it would be possible to interact from any location but the server itself. However, if user interaction is not necessary, then I see using a Workflow only
    succeeding with a server-installed copy of Office.
    For what it's worth, I wish you luck. This sounds awfully convoluted for a process that might be better replaced with a SSRS report that can be exported to a Word document (which can be programmatically rendered and uploaded to a MOSS document repository,
    without messy Office instantiation or automated mail-merge business). At worst, you would need a third-party renderer for SSRS to make the .doc files. At best, you could upgrade to SQL Server 2008 R2 which has a .doc rendering extension baked right
    into the crust. (However, some have reported interoperability issues with CRM 4 and SQL Server 2008 R2, so do your homework!)Dave Berry

  • RELEVANCY SCORE 2.73

    DB:2.73:Creating A Filestream For A Destination File dm


    I may have looked at some certain beta programs: namely C Sharp Ripper.
    But I have this sample code:
    dim fs as FileStream;
    set fs=new FileStream(E:\destinationfile, FileMode.Create, FileAccess.Read, FileShare.None);
    Will this code in Visual Basic shall create a destination file as a FileStream object or instance?

    JohnDBCT

    //jp;//

    DB:2.73:Creating A Filestream For A Destination File dm

    VB.Net no longer uses the Set keyword and does not end its lines with semi colons.
    The use of FileMode.Create seems inconsistent with FileAccess.Read, since Create creates a new file with nothing in it to read.

  • RELEVANCY SCORE 2.72

    DB:2.72:Visual Studio Express Edition 2013 Noob Question fd


    How do I build a standalone executable program that has been written in C Sharp?

    DB:2.72:Visual Studio Express Edition 2013 Noob Question fd

    Hi WearyKnight,
    (1)Do you mean you want to compile your c# project in Visual Studio express 2013?
    Right click your project in Solution Explorer-Build your project.
    (2)If you mean you want to run a standalone executable program in another machine without VS IDE.
    You need to install the appropriate .NET Framework in your new machine.
    Best Regards,

  • RELEVANCY SCORE 2.72

    DB:2.72:Ops Manual Of The Sharp Lc70le632u States Warranty Is Vo... a7


    Ops manual of the Sharp LC70LE632U states warranty is void when used in a commercial environment. QUESTION: Is there COMMERCIAL WARRANTY available in Canada...what price?

    DB:2.72:Ops Manual Of The Sharp Lc70le632u States Warranty Is Vo... a7


    Future Shop can sell you a product service plan for a TV that you intend to use in a commercial setting. You'll need to go into a store and talk to a sales associate to get more information (like pricing).

  • RELEVANCY SCORE 2.72

    DB:2.72:Cambiar Color De Groupbox dj


    hola a todos es que quiero cambiar de color las lineas de gruopbox osea como el border pero la propiedad no existe o no la vi, estuve viendo un ejemplo en visual basic. pero la verdad no le entiendo al visual basic no me gusta. alguna ayuda en c# sharp.

    DB:2.72:Cambiar Color De Groupbox dj

    hola
    esta pregunta se realizo anteriormente en el foro
    http://social.msdn.microsoft.com/Forums/es/vbes/thread/d4214474-e28e-4537-a9fc-afd27a26a5a4
    quizas lo que alli se comenta sea de ayuda
    saludosLeandro Tuttini

    Blog
    Buenos Aires
    Argentina

  • RELEVANCY SCORE 2.72

    DB:2.72:Programming Language C# Learning Resource pc



    For learning C# in general I highly recommend Bob Tabor's tutorial on Microsofts Channel 9.


    http://channel9.msdn.com/Series/C-Sharp-Fundamentals-Development-for-Absolute-Beginners


    It might be a bit to basic if you already have a strong programming background but in this way it is sure that nothing importand is left out and it is very easy to understand and to learn.

    DB:2.72:Programming Language C# Learning Resource pc


    http://unity3d.com/learn/tutorials/modules/beginner/scripting http://www.burgzergarcade.com/tutorials http://docs.unity3d.com/Documentation/ScriptReference/index.html


    Its everywhere. Check it out.