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

Software Development Network >> Michael J. Brown's Q&A profile

Michael J. Brown

Member List

Sarvesh Jain
IXOYE333
ChrisMoje
Wicket
AJCruz
pigi76
Giber
Alexey Kuk
js06
Claude Turner
Troy Lundin
Stealth549
SoulSolutions
software_writer_nyc
No-spam Sam
Liloch
IgorP
Rollin561
wgundaker
GiriKrishna
Only Title

Michael J. Brown's Q&A profile

  • Visual Studio 2008 (Pre-release) WCF and message "End of Stream encountered before parsing was completed."

    I've set up communication for WCF. I used these configuration parts. Server: (read from the stream) <wsHttpBinding> <binding name="BindingThing" messageEncoding="Mtom" maxReceivedMessageSize="33554432" /> </wsHttpBinding> Client: (sends to the stream) <wsHttpBinding> <binding name="WSHttpBinding" messageEncoding="Mtom" maxReceivedMessageSize="33554432" > <reliableSession ordered="true" inactivityTimeout="00:10:00" /> <security mode="Message"> <message clientCredentialType="Windows& ...Show All

  • Visual Basic My namespace (accessing default printer)

    I am not able to find any printer related settings (get the default printer, change the default printer etc.) in the My namspace May be there is no printer related methods available within My namespace (My.computer) Please correct me. No, there is no printer settings in the My Namespace (there have been a couple of comments on this; it's just the way it is). To do some printing, look up the System.Drawing.Printing Namespace and in particular the PrintDocument class (it has a good sample on how to print). ...Show All

  • Visual Basic Null dates

    I have a .NET class lib which defines a public function which takes a date parameter. Sometimes, the date is NULL (values from a database) but if I try to pass NULL into this function, obviously it will not accept it. In VB6 I would use a variant data type to get around this but how do I do it in .NET OK, maybe I didn't explain myself well enough. I have a public function that looks like this: Public Function DoSomething(ByVal MyDate AS Date) AS Int32 This function is defined in a .NET class library. I have created a type library and registered it in the GAC so that it can be called from a COM component, amongst others. When you try to assign NULL to a data type of Date, you get a type mismatch. You cannot ...Show All

  • .NET Development What the ?!?!? (please help)

    C# with this.... int outsideLabourHrsReg; int internalLabourHrsReg; Code & conversion works fine for..... outsideLabourHrsReg += Convert.ToInt32(e.Row.Cells[15].Text); BUT I get "Input string was not in a correct format" error when attempting below line of code immediately after!!!!!!!!!!!! internalLabourHrsReg += Convert.ToInt32(e.Row.Cells[15].Text); what gives ! ! ! Help! Well, due to the "if (labourType.Substring(0, 2).Contains("C"))" we never do both the line you quoted in you first message at the same time, so we can't say that one works and the other doesn't. In fact, from looking at the code, all I can say for sure about the data is ...Show All

  • Smart Device Development Intercepting SMS messages and Creating a Notification

    I'm trying to intercept a message, do some analysis on it, provide a custom notification, and save it to the inbox. I'm using InTheHand, the Microsoft.WindowsMobile managed classes, and OpenNETCF libraries at my disposal. A couple of questions: 1) The first question is with regards to the MessageInterceptor class. After intercepting a message, I can't find any way to pass it thru to the SMS account's inbox. The Accounts.SmsAccount.Inbox doesn't give me any methods to save a SMS message. The only way for it to go to the regular sms inbox is to use "Notify" instead of "NotifyAndDelete" for the MessageAction. But this will give me two notifications - the original and the custom one I'm popping up, instead of ju ...Show All

  • Visual C# XML socket problem?

    Hi all, i know flash can create xmlsocket and send message to server. How to create Xml Socket and send Message to server with c#. Below is flash send message codeing. C# can do this Please sombody can give me good solution. //Flash send message codeing var msg_xml = new XML(); msg_xml.nodeName = "message"; var msg_node = msg_xml.createTextNode(input_txt.text); msg_xml.appendChild(msg_node); //send Message _root.socket.send(msg_xml.toString()+"\n"); //================================== Best Regards, Hi SvenC, Q1. http://msdn2.microsoft.com/en-us/library/w93yy28a.aspx. Replace Sorry this link is break. Q2. I tried send the XML Below is my coding. But has differ with flash xml format ...Show All

  • SQL Server Select *

    I know Select * has a performance impact and its better to use Select Column1, column2... But is this also true for Select * from #TempTables. Jens K. Suessmeyer wrote: No, actually they can hold indexes if you put some on the table. Tables variables can’t have indexes. Not quite true Jens. You can create a primary key on a table variable which will create a unique index. e.g. declare @tb table (pkid int identity primary key, i int) ...Show All

  • Visual Studio 2008 (Pre-release) MaxiVista makes WPF unusable

    I started a similar thread on Channel 9 , but on Rob Relyea's suggestion I'm moving it here. Here's my orginal question: I downloaded .NET 3.0 RTM today and installed it on my Windows 2003 Server development server. I tried double clicking on a XAML file and the system went nuts: the screen flashed, the mouse kept moving to the center and corners of the screen, etc...  It looked like my machine was taken by the Indigo/Avalong ghost...  Finally I had to bring up task manager and kill IE. I tried multiple times, with different XAML files.  I tried uninstalling and re-installing, downloading the fast installer and the full re-distributable (50 MB).  No luck - WPF just doesn't seem to work. I've been u ...Show All

  • Visual Basic VB Express Very Sluggish With 150 Form Project

    I just removed the VS Beta and installed VB Express. Now the IDE is extremly sluggish. Many IDE actions, even simple ones like adding a new line, take 10 or more seconds to appear on the screen. VB is bordering on not being usable. This is on the same desktop platform as the beta 2 was installed and it was usable - build was taking a bit longer than I wanted but OK. The project has over 150 forms. Is VB Express intentionally crippled compared to the full VS Standard version That is can VS handle a 150+ form project better than VB Express Was there some change between Beta 2 and RTM that makes big projects unusable Is there some user option I can set to make the IDE more responsive TIA Hi Bo ...Show All

  • SQL Server Loggin userid from trigger using APP_NAME

    Hi I have to implement table level loggin on a bunch of tables. The problem is that I also have to log the user that made the changes Obviously the right way would be to run everything tru stored procs - but that is not possible for me because there is a lot of existing functionality built already - some direct sql and a super large number of sprocs. So I wanted to go with a trigger based approach .However since the changes are being made by a web app SQL has no idea who the actual web application based user is. I originally tried to solve the problem by adding a LastUpdatedBy column to some of the tables and forcing the functions to update that too - so that the trigger can read that column but that has turned out to be v ...Show All

  • .NET Development Zip the file in C# .net 2.0 windows application

    I want's to zip the file by the help of framework libraries [no third party library,no interop.Shell] Can I do that I have already use it in some of my old project. Now In my new project it is the restriction that i can't use any third party dll. That's why i am trying to find the best solution to zip the file/also unziping with the help of framework class libraries ...Show All

  • Software Development for Windows Vista NO XP 64 Drivers for Microsoft products CRAZZZZZY

    I am very dissapointed that microsoft releases an operating system and does not even have drivers out for their own hardware. None for the keyboard, mouse and fingerprint reader! If I knew this before I bought the 64 bit version I would have never bought it! The system I bought online came with Windows XP Pro and it turned out to be a bootleg copy so I tried to do the right thing and buy the latest out only to find out they did not have antivirus software out and drivers for their own hardware. Thats Crazy! Norton now has antivirus software but you have to buy the corprate version that is pricey. But still no drivers for the fingerprint reader and keyboard and mouse. I looked after the fingerprint d ...Show All

  • Windows Live Developer Forums Localised Versions of VE

    In the online documentation of VE it mentions that it is available in 13 languages. How can you switch so that the maps are showing in another language This means the map place names and not any dashboard text. E.g London will appear as Londres if choosing a French locale etc etc.. (I've notice that google maps just use the local spelling) That's a bit of an editing error. The 13-language support is for the MapPoint Web Service (the SOAP side of our Virtual Earth platform). It does not apply to the javascript control side of things. So if you want multi-language map support at this point, you should look at MWS. Links for more information are on that same page. I've asked the marketing folks to rewrite the page so that i ...Show All

  • SQL Server regarding extended property

    hi, Can anyone tell me how to use the extended stored property like sp_addextendedproperty in java code Thanks, Meghna Hi, what u have given me is the SQL querry for using sp_addextendedproperty, but if i want to do the same thing from a java program will it be possible Also how can i view the added extended property using ::fn_listextendedproperty from a java program Thanks, Meghna ...Show All

  • SQL Server Detailled error description in a script component (data flow)

    Hi, I'm pretty new in SSIS and i have some problems with error log. I want to get detailled error description in a script component of a dataflow. for the moment I use thooses lines Row.ErrorDesc = ComponentMetaData.GetErrorDescription(Row.ErrorCode) and for unique constraints on a sql table I have this error : The data value violates integrity constraints . For the same error, if i use an event handler on error, i have more row and the first of them is more explicit (Variable System::ErrorDescription) An OLE DB error has occurred. Error code: 0x80040E2F. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E2F Description: "The statement has been terminated.". An OLE DB record is availabl ...Show All

©2008 Software Development Network