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

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

RobertFogt

Member List

AcrossThePond
Gurpreet Singh Gill
Pipz
noonie
WV John
Jessica Alba
Laser2020
hsiceo
Jonathan Abbott
Kishore Gopalan
Threads! Help!
Tina Nielsen
KonRi
Dnieto23
Lakshmana Kumar K
Mamatha
MarioMario
sidwang
Trish
Hashim Ahmed
Only Title

RobertFogt's Q&A profile

  • Windows Forms Clear Results...

    Hello, I am trying to clear my results from my dataGrid...i have the following code but it breaks on the last bracket in the code for some reason but here is the code, check it out private void button3_Click( object sender, System.EventArgs e) { //try //{ this .theDataset = new DataSet("Customers"); this .theDataset.Tables.Clear(); this .theSQLDataAdapter.Fill( this .theDataset); this .dataGrid1.SetDataBinding( this .theDataset,"Customers"); //} //catch(Exception eq) //{ // MessageBox.Show(eq.Message.ToString()); //} } } } ok, to clear the results of the datagrid if you have a done a setdatabinding, you would.... remove the databindings: th ...Show All

  • .NET Development Prevent file changes?

    Is there a way to allow or deny file access when another program needs or wants to use it For example, if I use FileSystemWatcher and the Changed event(s), can i stop the file changes Thanks, would this file be the file that your application is using or what some other application would be using Are you trying to deny access to a file which another application is trying to access ...Show All

  • Visual Studio Tools for Office Obtaining a local application object from a separate AppDomain

    Hi, I have a scenario using VSTO 2005 SE that requires multiple AppDomains, each of which could manipulate the application's object model using the PIAs. The initial VSTO add-in is obviously passed a local instance of the application object (Microsoft.Office.Interop.Excel.Application). If I pass that instance along to any of the other AppDomains, transparent proxies and remoting gets involved, eventually causing problems when the lease expires (less than 10 minutes). What is the correct way to obtain a local reference to the Excel application object from a separate AppDomain I've tried creating a local instance of the Excel application by reaching into the Running Object Table (ROT), but this only seems to grab the first instance ...Show All

  • .NET Development xml schema

    I am working on visualstudio 2005.while iam creating a primarykey in the xml schema designer window iam not able make that attribute as primary key as there is no option to make it as primary key in edit key dialog box.can any one help me in this issue. ...Show All

  • .NET Development Problem with encoding.

    Hello, Could anybody help me with this problem I'm serializing a huge table of an Oracle database in XML format. The size of the document is around 20 Gb and I have a problem with a node in tha middle of the document (origen of the problem in red): <row><USER_ACCOUNT_ID>2027825</USER_ACCOUNT_ID> <PARENT_USER_ACCOUNT_ID xsi:nil="true" /> <CHILDREN xsi:nil="true" /> <LOGIN><![CDATA[lotuce]]></LOGIN> <USR_TITLE_CODE>30</USR_TITLE_CODE> <FIRST_NAME><![CDATA[Daniel]]></FIRST_NAME> <LAST_NAME><![CDATA[MOMENCEAU MOMENCEAU]]></LAST_NAME> <COMPANY_NAME xsi:nil="true" /> <EMAIL_ADDRESS><![CDATA[]]>& ...Show All

  • Windows Forms how to find that my key what is my key number according to microsoft every key is not geuine

    according to microsoft every key is not geuine ...Show All

  • Visual Studio 2008 (Pre-release) Sample code / Demo projects

    Hi Due to the abscence of the Sync Designer, it will help immensely if you can post either or all of the following: Documentation for Microsoft.Synchronization.Data.Client, Microsoft.Synchronization.Data.Server and Microsoft.Synchronization.Data.dll Sample code : Any demo projects Regards, Kk Hi William, I am working on uploading the sample right now. I don't think it is possible to post to the forum, so I am looking for other options. I expect to post a link to the sample project shortly. I cannot wait either, just few technicalities are delaying me :) Thanks, Rafik ...Show All

  • .NET Development client socket disconnect

    Hi, I am doing socket communication in asp.net using c#. I can able to connect to the client using socket programming. when i am disconnecting means socket.disconnect(false) then i am getting some an exception like "feature requires windows xp or later". as i am using windows 2000 professional. what is the exception I too have had this problem on a windows 2000 machine (service pack 4). The mystery is that the documentation (link below) actually SAYS that it is supported.. ! msdn2.microsoft.com/en-us/library/ system.net.sockets.socket.begindisconnect.aspx ...Show All

  • Microsoft ISV Community Center Forums iexplore.exe - Application Error (EVERY TIME I CLOSE IE7) :(

    Hi, I am absolutely clueless as to why this keeps happening, but it is driving me insane!! The exact error message reads: 'The exception unknown software exception (0x0eedfade) occurred in the application at location 0x7c81eb33.' Could anyone shed some light on maybe what the cause is and/or how I can fix it Thank you in advance to anyone who reads and/or offers any information. Laura x hi, iv recently had to do a reformat on my pc,after installing IE7 and norton2007+2007 add-on pack started getting this runtime error 217 at location 02FDF48E and the unknown exception software (0x0eedfade)in the app at 0x7c81eb33. first of all tried uninstalling IE7 with no luck,so then tried the same with norton 2007 still with no luck a ...Show All

  • .NET Development Anyone else believe in Simple client/server apps?

    I am a .net construction worker, but I want to build nice houses, not high rise buildings. I am qualified and enjoy writing practical client/server solutions to problems that are not exceptionally big, of which there are thousands. I do not enjoy, however, and can not seem to bring myself to care about writing applications that are extraordinarily complex and that involve issues like n-tier. I suspect that there are other ways to keep code maintenance and sharing of code easy without all the overhead of presentation, business and data tiers, custom classes that get populated from a database and other similar complicated designs. To me, it takes all the fun out of writing solutions and is not necessary when all your trying to do is to build ...Show All

  • Visual Studio passing date range parameters from .net windows application

    Hi! I need to pass the initial date and final date to a report from a Windows vb.net application, is there any tutorial about this i'm absolutelly newbie, i'd appreciate any help. I've already did the report and launched it without parameters from a form but can't find how to do it with a date range parameters THIS IS A SAMPLE CODE 'this one uses crystal report 8.5 Dim XFROM As Date Dim XTO As Date Dim APP As New CRPEAuto.Application Dim REPORT As CRPEAuto.Report Dim PARAMS As CRPEAuto.ParameterFieldDefinitions Dim XSTRINGDATE As String Dim XSTRINGDATE2 As String XFROM = 'your start date in here XTO = 'your end date in here XSTRINGD ...Show All

  • Visual Basic sql date search don't return any value

    hi! i'm trying to get dates from a table, but my code don't return any value: Dim conn_pesq As New SqlClient.SqlConnection(My.Settings.conn_pontos) Dim cmd_pesq As New SqlClient.SqlCommand() cmd_pesq.CommandText = "SELECT data_nasc FROM clientes WHERE data_nasc=@Data" cmd_pesq.Connection = conn_pesq cmd_pesq.Parameters.AddWithValue("@Data", DateTimePicker1.Text) conn_pesq.Open() Dim dr_pesq As SqlClient.SqlDataReader dr_pesq = cmd_pesq.ExecuteReader If dr_pesq.HasRows = True Then Do While dr_pesq.Read Dim NewItem As New ListViewItem() NewItem.Text = dr_pesq("data_nasc").ToString lv.Items.Add(NewItem) Loop End If dr_pesq.Close() Please, help me ...Show All

  • Windows Forms Magic with Installations (Am I re-inventing the wheel)

    Hello, it appears that this is the catch all forum for ClickOnce, Setup & Deployment and the Bootstrapper. see Chris Smith's last signoff note at http://blogs.msdn.com/chrsmith/archive/2006/03/10/Bootstrapper-SDK-R1.aspx Anyway, this is what I need to be able to do for MAJOR insurance carriers deployement of our application but everything I try I keep dead-ending. First can't use ClickOnce because of the per-user limitation... 1. Launch Install -OR- Bootstrapper a. Test RAM, OS, DiskCost b. Summarize to end user what is and isn't passing for launch conditions 2. Go no Go bassed on 1a. a. Summarize prerequisites to be installed. In our case .NET and SQL Express (and their prerequisites) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is there much to download on the Creator's Club yet ?

    Think this is the best place to ask, apologies if not. I've been interested in XNA for a couple of months now, plan on starting to learn to code myself pretty soon, before signing up for the Creators Club subsciption I just wanted to check if there is much on there to download at present or if I'd be better off joining in a couple of months time. Thanks. PS. Is there a site where available content is listed See this thread . ...Show All

  • Microsoft ISV Community Center Forums Find worksheets starting with "xxxx" using an outside dll

    Hi All, I am trying to find the names of worksheets starting with some kind of string, like "intrest" and then passing the array containing the names of all 'correct' worksheets back to the dll that asked for the information. As added information: I am starting a program using an Excel Add-in. That program later refers back to the Add-in for a couple of functions, the first of which is the one mentioned below. I tried to accomplish getting the names of worksheets with the following code in the dll, where the names refer to the following elements: objExcel refers to the Excel workbook activating the program sExcelFile refers to the .xla-file activating it sNameToFind is the string I am searching for ("intrest" for ...Show All

©2008 Software Development Network