rolian's Q&A profile
Smart Device Development Returning data to my pocket pc from a webservice and displaying it
I'm setting up some test projects and I'd like to return data to my Pocket PC. I'm calling a webservice (net.webservicex.www). Here is the method I'm calling <System.Web.Services.Protocols.SoapDocumentMethodAttribute( "http://www.webserviceX.NET/GetInfoByZIP" , RequestNamespace:= "http://www.webserviceX.NET" , ResponseNamespace:= "http://www.webserviceX.NET" , Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _ Public Function GetInfoByZIP( ByVal USZip As String ) As System.Xml.XmlNode Dim results() As Object = Me .Invoke( "GetInfoByZIP" , New Object () {USZip}) Return CType ...Show All
SQL Server Report Server Setup when query against terabytes of data
Hi all, Can anyone point me to a resource on the best way to setup and use SSRS 2005 when reporting on tables that could have 1 billion rows. The database in question will have mulitple schema's each being at least 1 terabyte in size. Thanks -JW The size of the database matters much less than the size of the data you want in the report. My advice is to push as much filtering and sorting logic as you can into the back end database and return only the result set you want to display into SSRS 2005. Assuming you filter the data down to 20-100 page reports, going against billions of rows and terabytes of data is not difficult. Thanks. Donovan Smith ...Show All
Visual Basic dataset.readxml from my.resource
How can I read an xml file from my.resources I have tried creating an creating an xmlReader with xmlReader.create, but I can't seem to point that to a file in my.resourses. I guess that I just don't know enough about xml and stream readers. Thanks Hmm, maybe if I ask it in a different way.... Why doesn't the following work Dim aReader As System.IO.TextReader Dim anXmlReader As Xml.XmlReader Dim aDS As New DataSet() ' I get an error here! I recognize that I am creating a new StreamReader, that is how the help showed ' showed to create a textReader. I assume that StreamReader is a subclass of textReader. aReader = New System.IO.StreamReader( My .Resources.someXMLfile) anXmlReader ...Show All
Software Development for Windows Vista Custom Data in my workflow
I'm not able to get my custom data back which I persisted through Persistence service. following method is loading the persisted data:- private void LoadPersist() { //this is my class which i'm using for managing WF runtime WorkflowManager wfManager = WorkflowManager .GetWorkflowManager(); WorkflowRuntime runtime = wfManager.WFRuntime; if (!runtime.IsStarted) runtime.StartRuntime(); SqlWorkflowPersistenceService persistService = ( SqlWorkflowPersistenceService )runtime.GetService( typeof ( SqlWorkflowPersistenceService )); // Get a collection of all persisted workflows IEnumerable < SqlPersistenceWorkflowInstanceDescription > instances = persistService.GetAllWorkflows(); foreach ( SqlPersiste ...Show All
Visual C# How do you display a number in textbox as Hex value.
I have 3 text boxes. The user will enter hex numbers in textBox1 and textBox2. I want to add them together and display the HEX sum in textBox3. This code ALMOST works. It displays the answer in DECIMAL. How can I display it in HEX Thanks. int mynum1; int mynum2; int myanswer; mynum1 = Int32 .Parse(textBox1.Text, System.Globalization. NumberStyles .HexNumber); mynum2 = Int32 .Parse(textBox2.Text, System.Globalization. NumberStyles .HexNumber); myanswer = mynum1 + mynum2; textBox3.Text = myanswer.ToString(); //this displays in Decimal. How to Display in hex I was SO close. I was doing the following, which always prints 2X in the textb ...Show All
Windows Forms How to change a (C# winform) Screen Saver's Title (friendly name) in Display Properties?
Hi there, I have a farely simple question that I can't seem to find the answer to. I've got a C# Winforms application that after building results in an executable. This executable is then renamed to an .scr file and used as a Screen Saver. How can I get this file to come up with a different name than the filename in the dropdown list in Display Properties/Screen Saver My screensaver's filename is "screensaver.scr" and the dropdown shows "screensaver", instead of a more friendly name "My Beautiful Screen Saver". I've searched everywhere but all I get is things that refer to a StringTable, where you have to add a row with ID 1 and name "title" and value "screensaver title". This ...Show All
Visual Studio Express Editions Compatibility Issues
Hi Folks, I have a small network with a Novell 3.1 file server. There a four workstations running 98SE with Novell Client 3.1. I want to install an Access DataBase on a shared Novell server drive/directory and access it from each 98 SE workstation. I'll have to update the MDAC files, install .Net Framework 2.0, and install my VB Express DataBase application on each workstation. Are there any known compatibility issues that I should be aware of with any of the above Thanks. Last time I checked, SharpDevelop would run on 98. This was with the version that worked with the 1.1 Framework. The latest version Corsavy which works with Framework 2.0 may or may not work. It is a pretty decent IDE ( a ...Show All
SQL Server Operating system error 1450(Insufficient system resources exist to complete the requested service.).
Hello! Hopefully someone can help me. I have scripts to refresh database as SQL daily jobs. (O.S is Win2K3 and SQL server 2000 and SP4) It was worked and I got the following message this morning from SQL error log. Internal I/O request 0x5FDA3C50: Op: Read, pBuffer: 0x0D860000, Size: 65536, Position: 25534864896, RetryCount: 10, UMS: Internal: 0x483099C8, InternalHigh: 0x0, Offset: 0xF1FF1E00, OffsetHigh: 0x5, m_buf: 0x0D860000, m_len: 65536, m_actualBytes: 0, m_errcode: 1450, BackupFile: \\XAPROD12MASTER\XAPROD\XAPROD_db_200701290000.BAK BackupMedium::ReportIoError: read failure on backup device ' \\XAPROD12MASTER\XAPROD\XAPROD_db_200701290000.BAK '. Operating system error 1450(Insufficient system resources exist to comple ...Show All
Visual C++ AfxBeginThread() error C3867?
Hello all, I'm trying to launch a worker thread from within my view class. I have a class ("LiveVideoThreadData") that I've created that has been loaded with data the thread needs during operation. I'm getting compile-time error C3867 at the "AfxBeginThread" call. I'm following the MSDN documentation closely but can't get it to work. I've done the following: UINT CMyView::LiveVideoThreadFunction(LPVOID pParam) { //Cast to type LiveVideoThreadData: LiveVideoThreadData* videoData = (LiveVideoThreadData*)pParam; . . . } void CMyView::OnDraw(CDC* pDC) { videoThreadData.InitializeWithData(); AfxBeginThread(LiveVideoThreadFunction, (LPVOID)&videoThreadData); } Compiler produces: "error C3867: 'CMy ...Show All
Visual Basic Adding a right-click function to a control
I hope someone can help me out with this. I'm trying to add a function to a button when it's right-clicked , but I can't find any way to do it. Thanks (in advance!) for helping. Hi Suliman, Well use hte Mouse_Down event and you can easily determine which button is pressed and take the required action.. Hope this answers the question.. Regards Ahmad Microsoft Student Partner - India ...Show All
SQL Server SP1 installation problem
I recently tried to install SP1 on an instance of SQL Server 2005 standard edition, running on Win2003 Small Business Server. The installation ran with no error, except that it took a very long time, almost an hour, much more than the same installation on another similar server. After the SP1 installation, the instance of SQL Server 2005 is still in RTM version (9.00.1399.06) instead of being in SP1 version. We ran the installation again with the same result. Does someone have any suggestion about the cause and the solution Thanks Did you check the sp1 log file for any errors See if any component update failed under %windir%\hotfix\hotfix.log, it has something like following: ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The Unofficial "Hooray I'm Done With my DBP Game" Thread
When you get done with you game and sumbit it, crow about it here. A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits. Bill I'm done. I haven't slept this night at all (it's 6 A.M. here ), and I have classes first thing in the morning, but I'm extremely pleased of what I achieved. Just a sneak preview: my game in called Quantum Wars and is all about time/space manipulation in order to win the battle against the other player. I thank all the comunity for: code snipets, support, examples, counter-examples and everything else. I'll post some more ...Show All
SQL Server Questions on translation and naming attribute
Hello I have a few questions regarding the translations. 1. Is it possible to create this neat auto-generated date dimension in any other languages than english 2. When I use the Currency format string on my autogenerated measure groups they all turn out as $, but when I use it on a calculated member it chooses the correct currency. How can I change this for the auto generated measures 3. After creating the member, how do you define the deafult member show from the dimension. Say for example that I have DimEmpl(Code, Name). I would like the Name attribute to be the attribute showing by default. I know this is possible while creating the dimension, but what if I want to change it later Thanks // Richard ...Show All
Visual Studio 2008 (Pre-release) BmpBitmapDecoder fails to load image from MemoryStream with NotSupportedException
Hello, I try to follow MSDN sample to load picture to Image control from MemoryStream: http://msdn2.microsoft.com/en-us/library/system.windows.media.imaging.bmpbitmapdecoder.aspx To load BMP picture from Memory Stream I use BmpBitmapDecoder, as shown in sample above. In the constructor i get an unhandled exception System.NotSupportedException , which happens in PresentationCore with message " No imaging component suitable to complete this operation was found ", Stack Trace is following: at MS.Internal.HRESULT.Check(Int32 hr) at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Str ...Show All
SQL Server 64-Bit Installation of SQL Server 2005 on AMD Server
I have an 8-Processor AMD CPU box with Windows Server 2003 Enterprise (x64) R2 with SP1 installed. How do I verify that I am installing the 64-Bit version of SQL Server 2005 I don't see any installer 'options' and when I view the list of SQL Server 2005 components in the Add/Remove program list there is nothing mentioned. The source of my SQL Server 2005 installation code is the 'Ready Set Launch' DVD that Microsoft handed out when SQL Server 2005 was launched in 11/2005. I haven't found any documentation to specifically details 64-bit installations. Thank you. ...cordell... Sam... From what I can see I am installing the 32-bit versions of the SQL Server 2005 software on the AMD box. ...Show All
