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

Software Development Network >> Kevin Hoffman's Q&A profile

Kevin Hoffman

Member List

mitasid
Zero_
DanAllenVt
D.J.D.
Bertrand Caillet
Dejan Kocijasevic
heavenlycharmus
TheSebaster
jonam
Charles Cox - MSFT
Ģ&#174&#59;€ğ&#167&#59;QĻ
Jacco Mintjes
Ted12893
Juan Foegen
Lawrence 007
Henry_2003
dgolds
Peter Smith
Dipesh A.
Ray C
Only Title

Kevin Hoffman's Q&A profile

  • .NET Development Form Post from mfc dll to aspx page

    Hi, I am trying do this: 1) client downloads a MFC dll (GUI-less), loads information from his personal information, ie a loan, 2) dll does a "Form post" to a aspx page, where the info will be parsed out using something like Request.Form(). However, there will be no response sent back to the dll, 3) when the user input additional info onto the aspx page, hit submit, all info will be sent to another company's server, where a response will be sent to my company's server. Can someone shed some lights on how to do step 2, ie how to do a form post or post without response from a MFC dll (I need to use MFC because all of my company's code is built in MFC) to a aspx page Thanks, ...Show All

  • Visual C++ variables does not contain right values in debug mode !

    Hello, while I was trying to use one the INTEL MKL solvers, I found some weird behavior in the debug mode. I then simplified the sample code to where it does not use any external dependencies and it just simple c++ (while keeping with same structure as my original code). I am using Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Professional Microsoft Visual C++ 2005 77626-009-0000007-41387 I have three source files: (i have the full project and source files at http://alpha.tamu.edu/public/julian_public/vc8/mkl_solvers_drivers_IDE_problem.zip size ( 153 kb) it compiles and links without any errors for me. the working directory is \test\501\ at the end is a snippet ...Show All

  • SQL Server exists vs nonempty

    the AS2005 documentation states that nonemptycrossjoin is deprecated and exists or nonempty should be used instead. i am a bit confused by the intended usage for these two functions. the documentation says that exits performs what autoexits does. however, autoexits only pertains to attribute from the same dimension. on the other hand, sets from different dimensions can be passed to the exists function. if no measure group is specified, exactly how does exists eliminate tuples is exists(set_x, set_y) equivalent to nonempty(set_x, set_y) this might be a trivial question, but since i pretty new to MDX, i could really use some advice here. I tried to explain this in a little bit more detail here: http://www.sqljunkies.com/WebLog/mosh ...Show All

  • Windows Forms To:ahmedilyas and the rest

    hi i have these code here.. but i could not retrrieve the value from the textbox in the grid view ..Any idea that if my logic is right The textbox is created using template in VS 2006 web form. string description = gvReceive.Rows[0].Cells[1].Text; string prodNo = gvReceive.Rows[0].Cells[1].Text; string suppID = gvReceive.Rows[0].Cells[1].Text; // Below code doesnt get the value from the textbox foreach ( GridViewRow row in gvReceive.Rows) { // Selects the text from the TextBox which is inside the GridView control string textBoxText = (( TextBox )row.Cells[5].FindControl( "TextBox4" )).Text; Label1.Text = textBoxText.ToString(); } Please help ! Your sinc ...Show All

  • .NET Development Activator.CreateInstance

    hi, Can someone help me with this scenario I have a client with 2 versions. 1.0 and 2.0. client 1.0 will create a remote object of Server 1.0 and client 2.0 should create a remote object of server 2.0. This is what is happening...when client 2.0 calls Activator.CreateInstance on the Remote Type, its creating instance of server 1.0 which makes sense as there is no redirection on the server from 1.0 to 2.0. What I would like to ask is, is there anyway for the client to specify in Activator.CreateInstance to create the instance from assembly version 2.0 on the remote server rather than 1.0 version I would really appreciate some help here, thanks rb http://windowssdk.msdn.microsoft.com/en-us/library/bbab2dx1.aspx S ...Show All

  • Visual C++ Can't find entry point for function in C++ Dll called by Visual Basic 6.0

    Does anyone know why I would be getting the above type of error (Run time error '453') when I try to call a function in a Dll created in Visual C++ from a Visual Basic project I've tried just about every method of creating it that I could find on the internet and I would like to get some new ideas. I can send code to be looked at if necessary, but it wouldn't be the only method I've tried. I didn't save all of them. Feel free to send me an email. It's Visual basic C++ 6.0 which is what I wrote the Dll in. I tried several methods of creating the DLL including using the wizard and also doing it without the wizard. When I do it without the wizard the cpp file that gets compiled to generate the dll has a case statement in iiit that depen ...Show All

  • SQL Server "Sql Broswer" vs. "Hide Sql Instance"

    I was never clear what the sql 2005 Browser service is about. But now that I've found the "Hide Instance" property of a server (SQL Server Configuration manager, select Protocols for MSSQLSERVER, right-click, go to Properties) I'm more confused than ever. What is the difference between these two items TIA, Barkingdog That makes sense but if I stop the Sql Browser won't that have the same impact TIA, Barkingdog ...Show All

  • Visual Studio Express Editions Change properties from other forms

    Topic says it all ... lets say i got x2 form ..and in form1 i got ritchtextbox how i change its txt or any other properties from from2 or other forms ... e.x in vb i used to do Form1.TextBox.text = ("w/e you want") Im really sorry but i still do not understand can you please! post full Sourcecode of form1 and form2 at form 2 theres a button that change the text of the ritchtextbox in form1. ...Show All

  • Visual Basic Multithreaded application, thread not exiting.

    ok here it goes I must be doing something way off but it makes sense to me just not to VB.NET which would be a huge problem. Anyways I'll explain what I am doing than give code examples. basicly I've declared a thread in a module file where all my variables are declared for the enitre application, than it calls the thread from the main form and runs a sub routine located in a different class (I call it "work" class, this is where all the code that actually does anything is stored), the thread executes and begins dumping database data no problem, then when I open up my disconnect dialogue window and click yes to disconnect and tell my thread to quit it never quites in fact it just hangs the program, not sure why. Anyways heres the ...Show All

  • Smart Device Development RTSP WMV Streaming

    Hi, i'm trying to stream wmv file from rtsp://granton.ucs.ed.ac.uk/domsdemo/v2003-1.wmv (i saw this link somewhere in that forum). I'm using this sample to host media player control. But there is no video :-( audio played ok. But if i'm open this link in mediaplayer video and audio played normaly . I'm using motorola Q and activeSync connection to desktop. Desktop connected to network through HTTP proxy. Can anybody answer me why it's happend ...Show All

  • Software Development for Windows Vista Any XPS Guru's Around?

    Can anyone provide a c# example of how I can copy / reuse XPS resources In creating a "template" system, I'm trying to: 1) read an XPS document; 2) replace place-holder text with actual text; 3) write new XPS document. My works so far leave an XPS document that when opened gives the error "AddFontResourceEx failed" :( Any help would greatly be appreciated. I'm not a XPS Guru, but maybe my test about merging xps-documents may help, where I copy a font-resource from one xps to a new xps-file... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=826048&SiteID=1 ...Show All

  • Visual Basic Variable Declaration Shortcuts

    I am working on a project for a customer and the previous developer had used shrotcuts like ! , % , $, # when declaring their variables. I have never used these before and cannot find any documentation on these. Has anyone ever used them before Hi, These are also available in VB.Net. If it is recommended that we all stop using them then I will continue to use the Convert CLASS. Code Block Dim myNum As Object myNum = 8.0! 'Single. myNum = 9% 'Integer. myNum = 10& 'Long. myNum = 11.0# 'Double. 'Why was F decided to be used for a sin-gle Why not G as the 1st letter of the 2nd syllable 'Why was R decided to be used for a dou-ble ...Show All

  • Visual Studio Express Editions How to set text in a Listview subitem.

    Hello, All I wants to achieve is to place an "X" in the subitem the user clicks, or to remove it, if there is an "X" there already.Grateful if someone could guide me in the right direction on this one. Thanks for your time! -- Doffen This is what I got so far. Dim info As ListViewHitTestInfo = ListView1.HitTest(e.X, e.Y) Dim subItem As ListViewItem.ListViewSubItem = Nothing ' Get the subitem. If Not (info Is Nothing) Then If Not (info.Item Is Nothing) Then subItem = info.Item.GetSubItemAt(e.X, e.Y) End If End If ' Show the text of the subitem, if found. If Not (subItem Is Nothing) Then 'MessageBox.Show(subItem.Text) 'Replace "X" with "" here, in the subitem e.X,eY Else 'MessageBox.Show ...Show All

  • .NET Development Question about System.Transaction in DB2 environment

    Hi, When I using System.Transaction to control transaction in DB2 environment it will throw a exception: SQL0998N, Error occurred during transaction or heuristic processing. Reason Code = "16". Subcode = "2-8004D026". SALSTATE=58005, My pc is windows 2003 servcr Thanks, Zhihao Explanation: An error is detected when processing a distributed transaction. The transaction is: Running under a Distributed Transaction Processing environment (such as those from CICS or other transaction managers). Performing heuristic operations. Updating multiple nicknames within a federated database, where each updated nickname represents a different data source. In this case, one o ...Show All

  • Visual Basic CR Reports loosing format after coverted from vs03 to vs05

    Hi, everyone, I got this weird problem we just identified as the result of converting the win app developed in vs2003 to vs2005. The vs03 version has been used for months without noticeable problem, but now we found this bug that all the crystal reports were faxed out without the formatting! I got helps from the KBase article c2016115 from http://technicalsupport.businessobjects.com , and developed the following code for faxing CR reports using MAPI Private Sub btnFax_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnFax.Click Dim rtfOpts As New PdfRtfWordFormatOptions Dim mailOpts As New MicrosoftMailDestinationOptions Dim exportOpts As New ExportOptions exportOpts = MyRptDoc.ExportOptions ...Show All

©2008 Software Development Network