Anarchy's Q&A profile
.NET Development serialization from file failed in another assembly
Hello, I want to deserialize a file that was serialized in another solution (assembly). I copied all the classes that was serialized, and put them in my project, thinking this would be enough. However I get this message when trying to deserialize the file: System.Runtime.Serialization.SerializationException: Cannot find the assembly 96wellShuttleSW, Version=1.0.2382.20980, Culture=neutral, Pub licKeyToken=null. at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssem bly() Now, the 96wellShuttleSW is the assembly that created the file. What does it have to do with this, I thought everything needed (that is the class instances) were serialized in the binary object Is there any way around this ...Show All
SQL Server Return all fields of database
Hello, Is it possible to return all the field names of a database. I do not want the data rows. Just a list of fields in the databse. Thanks ... just run this - don't change the SQL USE HOUAPPS237.CallsAndIncidents.dbo.PROBSUMMARYM1 select table_name , column_name , ordinal_position , data_type from information_schema.columns and see what you get or even USE PROBSUMMARYM1 select table_name , column_name , ordinal_position , data_type from information_schema.columns ...Show All
Windows Live Developer Forums Atlas Web Messenger
Hi I am Hokgiarto. I am looking a way how to make a yahoo, msn, and a local messenger using Atlas. Can somehome help me how to make Atlas version of www.e-messenger.net I use it to make my final assignment. Thank you for your help. Hokgiarto wrote: I want to know what class to send a data to what address and port. I mean first step is to login. I have to send user name & password to server. How I do that using .net 2.0 atlas send to where (the server address and port) How do I catch the response (the user & pass is right, getting buddy list, buddy online, offline, etc) using atlas Thank You. You can see my component if you know Delphi. It will show how MSNP work here. I think you will so easily cr ...Show All
Windows Forms Changing border color of GroupBox
Is there any way to change the border color of GroupBox Thnx! Hi Kapalic What's on a group box is a chiseled line, probably a ControlPaint.DrawBorder3d. There's no color option with that because it's very thin. To make a group box with custom appearance, I'd create a derived control that inherits from Panel, add a Paint event handler, and draw the border myself. This will, for all practical purposes, act just like a group box (A group box, after all, is just a panel with a border...) This is much easier than it sounds! Let me know if you need an example. ...Show All
Windows Live Developer Forums An Easier Way
Javascript is like greek to me, and i really do not feel like learning it right now. But i need to put together a map. Does anyone know of a "making a microsoft live map easy" site or some kind of simulator for people like me who are stupid I'm really picky too, so it has to be flexible, but i'm kinda desperate right now. I may have the solution for you Codename "Atlas", now named something far less cool, provides an abstraction for .NET developers so you need not write any javascript. Check out this article: http://channel9.msdn.com/ShowPost.aspx PostID=184838 Last time I checked it didn't support all the functionlaity of the VE API but it maybe just what you need. ...Show All
Visual Studio 2008 (Pre-release) How to cancel a WCF connection request?
If a WCF connection request will take a long period to excute, how can I cancel it before it is finished. You can invoke the operation asynchronously on the client. Check out this blog http://blogs.msdn.com/mjm/archive/2005/05/04/414793.aspx and also note that svcutil.exe has an option to generate code for async methods on the client. Using the async pattern leaves the client 'unblocked' and in control of if/when it wants to process the results. ...Show All
Smart Device Development A problem in using serialport
how to change the fallowwing vb6 code into vb.net 2005 Do While MSComm1.InBufferCount > 16 getstring1 = MSComm1.Input '接收 站 送的 据 Loop Thanks, my friend ,when I checked my program,another question raised.So I am puzzled. I wonder if the transmittion part is valid.Now I will show you my whole program as follows: Imports System.IO.Ports Public Class Form1 Dim commport As New SerialPort Private Sub Bttn_Send_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click With commport If Not .IsOpen Then .Open() .DtrEnable = True .RtsEnable = True .Write(":010300000001BB" & Chr(13) & Chr(10)) 'the string I wanna se ...Show All
Visual Studio 2008 (Pre-release) Dynamically creating tabitems from an Xml File
Hi, I'm trying to create a tab control where the tabItems are defined by the contents of an Xml file. < UserControl x:Class = " RibbonBar.RibbonBar " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " > < UserControl.Resources > < ResourceDictionary > < ResourceDictionary.MergedDictionaries > < ResourceDictionary Source = " RibbonBarStyle.xaml " /> </ ResourceDictionary.MergedDictionaries > </ ResourceDictionary > </ UserControl.Resources > < Grid DataContext = " {StaticResource TabDataProv} " > < Grid.Colum ...Show All
Visual C# using vb6 component ?
Hi, Is there a way to use vb6 components in C#, just like in old asp (Server.CreateObject)... I tried with Activator.CreateInstance but didn't worked...is continue to as kfor the reference... Good Morning!! Have you able to get the desired results According to you what could be the reason of the exception. You said, it is not about casting, right. Have you able to figureout something. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Screen Flicker, Frame Rate to high
hey all i'm having a problem with setting my app to full screen, there is a white screen flicker, having reading previous posts on this subject, i have checked for duplicated spritebatch, set Vsync on and checked for perferedMultiSampling, however i have noticed that the frame rate is running higher than it should, (75 frames per second instead of 60), even stranger is when running an FRAPS (frame rate reader), the app works fine with not flicker (although still running at 75 frames).. game works fine in windowed mode, at 60 frames a second, i reckon that the extra 15 frames are being rendered as white, (screen res 1024x768) (monitor refresh rate 60) (graphic card geforce 6800, drivers up-to-date) Any id ...Show All
Visual C++ MFC close (x) button problem
Hi everyone, I hope someone can help me with my MFC problem. Say I open a file, and did some or no changes. Then I hit the (x) button. A message box saying "Save Changes to < fullpath\filename> " automatically pops up, with 3 buttons, yes, no and cancel. The last 2 buttons work fine. The yes button on the other hand, displays something like this: < dir letter>: .txt on the text field on the save as dialog. I want it to display the .txt without the drive letter. I would just like to know where or what code can I override to change this I have traced my whole code and it does not seem to come from my code. Thanks in advance for your help. This is not the ...Show All
Software Development for Windows Vista Scaling out Windows Workflow
Looking for a point in the right direction for scaling out an windows service hosted workflow to multiple application machines. In the MSDN article "Performance Characteristics of Windows Workflow Foundation" http://msdn2.microsoft.com/en-us/library/Aa973808.aspx they show workflows running on multiple machines. Are these machines sharing the durable queue thank you adam I have uploaded a sample to demonstrate locking of workflow instances here . you might find it useful to understand the instance locking concept ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Software renderer for Managed DX9?
Is there a fast software renderer that is DX9 compatible I'm looking into Pixomatic and SwiftShader, and while they are D3D9.dll replacements, I am using Managed DirectX from C#. Is is even possible to make Manged DirectX use an external D3D9.dll If so, how would I make it work with either Pixomatic or SwiftShader If it is not, can anyone suggest a good sw renderer we can use We are trying to make a sw version to run on laptops that don't have fast video chips. The Pointer type itself could be used outside unsafe blocks. The Problem is that Unbox returns void* and pointer are limited to unsafe blocks. I am tried "RegisterSoftwareDevice“ first but I always got an exception theref ...Show All
Visual Studio Dumb question about .net 1.1 vs. .net 2.0 in VS 2003
I have VS .NET 2003, and I'm using the .NET framework 1.1. This is causing me some compatibility problems. I was going to upgrade to 2.0, but I realized I didn't know for sure if you could use 2.0 with VS.NET 2003, or if that was strictly for 2005. The reason I am doing this: I've seen a lot of posts saying there should be no compatibility issues if I have 2.0 installed. I have found this to be untrue. If I set my old web sites to using .NET 1.1, they work fine but the newer sites (which are set to 2.0) stop working entirely. If I set the old sites to use 2.0, they work fine except for the embedded crystal reports. Why changing the ASP version on one web site would affect another web site is beyond me, but that's what's happen ...Show All
SQL Server Truncation error when importing from ODBC to flat file
I am having problems reading from and ODBC conncetion from Oracle RDB into SSIS. I am using a DataReader source which uses a ADO.NET odbc connection to an oracle RDB database. I am having that write to a flat file. When I read integers from the source, it works just fine. When I read character data (char(48) for example), it gives me trucation errors. Is the DataReader source capable of reading char data from an odbc connection Here is the errors I receive: SSIS package "Package.dtsx" starting. Information: 0x4004300A at Data Flow Task, DTS.Pipeline: Validation phase is beginning. Information: 0x4004300A at Data Flow Task, DTS.Pipeline: Validation phase is beginning. Information: 0x40043006 at Data Flow Task, DTS.P ...Show All
