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

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

Anarchy

Member List

paul_at_foobar_nu
Jason D. Camp
ShikhaVaid
ccote
mojoshaneman
aruyp
Ayhan Yerli (TR-NL)
Nerick
Princila
sandyrae
thomaskremmel
samsquared
dchawla
Wasim
nikoo
AlexBB
Linda Cornerstone
TOM_MUE
Denvas
giflen
Only Title

Anarchy's Q&A profile

  • Visual Basic Write text files from a directory on a Windows machine to a directory on an AIX server

    Hello all,   Using VB.Net 2005, is it possible to write text files from a directory on a Windows machine to a directory on an AIX server Can you provide any code Thanks Or why not simply create the file locally and then use the My .Computer.Network.UploadFile which takes two parameters a filename and a URL - which allows you to copy files to network locations such as FTP servers. ...Show All

  • Visual Basic ListView Key Update Possible?

    Is it possible to update the key of a listview I can add and delete items, but update would be cleaner, if possible. Thanks Thanks! You're right, the name is kinda crappy. I'll try this tonite and let you know later. ...Show All

  • Windows Forms Irritating Flicker Upon Startup

    I've built a WinForms app in C#. The basic startup screen is similar to that of MS Word, albeit with a gradient blue background. I just added a Splash screen. It runs on a separate thread and simply displays a borderless form at the center of the screen. It fades in, the main screen appears behind it, and it fades out, leaving the main screen. That's all fine. But what's not is that the main screen now has an irritating flicker of sorts when it appears with the Splash screen in front of it. It never used to do this. What's causing this and how can I prevent it from happening Robert Werner http://PocketPollster.com Hmmm, interesting ideas folks. I first tried the 0.99 method but unfortunately this didn't f ...Show All

  • SQL Server AS2005? PeriodsToDate - How to release hand break?

    Hi Yukon Gurus! I have a simple query with periods to date --Sample 1 WITH member [Date].[Calendar].[Column 1] as AGGREGATE ({ PeriodsToDate ([Date].[Calendar].[Calendar Year], [Date].[Calendar].[Month].&[2004]& )}, [Measures]. CurrentMember ) SET [RowSet0] AS {[Customer].[Customer].[All Customers]. children } SET [RowSet1] AS topcount ([RowSet0],100,([Date].[Calendar].[Column 1],[Measures].[Internet Sales Amount])) SELECT   {[Date].[Calendar].[Column 1]} ON COLUMNS ,   CROSSJOIN ({[Customer].[Customer].[All Customers],[RowSet1]},{[Measures].[Internet Sales Amount]}) ON ROWS FROM [Adventure Works] It takes almost 40 seconds on my 3,0 Ghz bo ...Show All

  • Smart Device Development Today Screen Item with WebService possible?

    I have created a Today Screen Item application. It works fine. Right now it simply adds a string of text and an icon to the Today Screen. But the goal is to access data from the internet to display in this Today Item. Coming from the manage code world I thought using a WebService would be much easier than coming up with the native code to connect and access the data from the web. I gave that a try I can add the WebService and call it from my code. But it will only compile if I I add the following definition: _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA Otherwise I get the following compilation error: fatal error C1189: #error : atlsoap.h requires Windows CE platform to have DCOM support or _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MT ...Show All

  • Visual C# ToShortDateString format

    Console.WriteLine(DateTime.Now.ToShortDateString()); This line prints: 03/01/02007 Why In Regional and Language Options dialog on my computer I see: Short date: 03/01/2007 It is set to English (United States). But short date is set to dd/mm/yyyy - possibly I changed this, I don't remember. I wonder why additional 0 is printed in the year field How can I change this code to print exactly as in Regional Options - according to MSDN description of ToShortDate function, it is supposed to do this. ...Show All

  • Gadgets Maximum size of settings window?

    Is there a limit to how large the settings dialog can be displayed as Anything in the CSS that's bigger than about 400 by 300 currently doesn't get displayed, it just gets cropped to that. Well the content of the dialog is displayed still but it goes off the limits of the dialog... Is this the case, or am I missing a meta-setting which is over-riding my style sheet or setting the wrong element (I'm setting the size of <body>) Chris Or if you want to dynamically change the contents of the window, such as taking settings options from an XML file! Well at least it's not just me and so I can look to work around it now I know it exists. Chris ...Show All

  • SQL Server T-SQL function to determine length of Image/Text data?

    Is it possible in t-sql to determine the length of the data contained within a text, ntext, or image column (realizing it would be different in each row) good point. Unfortunately the "len" function doesn't work for text, ntext, and binary datatypes. So in my particular case I am forced to use datalength. ...Show All

  • Windows Forms send a scroll down message to listbox using mousewheel, but listbox doesn't have focus

    How can scroll a listbox when mousewheel is moving, but this listbox doesn't have focus. in other words, no matter which control have the focus in the form, everytime i use the mousewheel I want to scroll the listbox. thanks in advance for your help Edward I'm not positive, but the code below should send a mousewheel event to a given control. If it doesn't work let me know. Maybe someone else here knows of a more .NET way to do it, but I only know the windows API way. You may also want to check out this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=228499&SiteID=1 private const UInt32 WM_MOUSEWHEEL = 0x20A; [ DllImport ( "user32.dll" )] private static ex ...Show All

  • Visual C# Inherited interface properties behaving differently in VS2005

    I’m upgrading a large project from VS2003 to VS2005, and have run into a change in the C# language behavior that I’m trying to explain. The following sample code works fine in VS2003, causes an infinite loop/stack overflow in VS2005. I'll grant that this design is evil (basically it is using explicit interface implementation to allow a property to behave differently depending on if it is called via the interface.). What I'm wondering is why the compiler's behavior has been changed, and whether there is any documentation on the change. Has anyone else run into this Thanks, Robert Just so this does not disappear into the ether ...I tested the code on 2005 and received the same results. I found the results interesting to say the least, if ...Show All

  • Visual Studio 2008 (Pre-release) Using Web Service in WCF

    Hi, I have created a "XYZ" Web Service. Now i have client application also developed on the same machine but in different instance of VS. I would like to know whether it is possible for me to directly add this "XYZ" web service using the Add Service Reference in the Visual Studio If so How it is possible as my Web service does not contain in any .SVC file Hello, Is XYZ an ASMX service (i.e., non-WCF) If yes, you should be able to add a reference, as before, by specify the service's URL (ending in .asmx, .wsdl, .disco, or .xsd). Please post back if I misunderstood your question. Thanks. ...Show All

  • Gadgets Request non-XML data via Web.Network.createRequest

    Hello all, First off, good to see that gadget development forum on MSDN. Anyway, what I am posting for is this: I'm trying to request normal plain text data (in non XML format) via the Web.Network.createRequest method. However, I can not find a Web.Network.Type type that represents regular data. I've tried XML, which responds with an "invalid xml" in the body of the response, and Stream throws an exception somewhere about not being able to load the target object. I haven't tried Script, CSS, Image, etc. but that probably won't work either because they are for specific purposes. Is there a way to make it do cross-domain requests for regular, plain text data, or Is there some sort of bug in the proxy for Spaces, perh ...Show All

  • Visual Studio Express Editions connect to database

    Hi People! Please, HELP ME! I use Visaul Basic express edition and I want to connect to remote microsoft access database. 192.168.54.106 with computer about this IP I want to connect Data Source=C:\software\software.mdb This code work con.ConnectionString = "Provider=MS Remote;" & _ "Remote Server=http://192.168.54.106;" & _ "Remote Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\software\software.mdb;Persist Security Info=False" but later appears exception sql = "SELECT System FROM software" da = New OleDb.OleDbDataAdapter(sql, con) da.Fill(ds, "software" ) exactly here that, there is no connect T ...Show All

  • .NET Development How to remove the <?xml version="1.0" encoding-"utf-16" ?> tag

    I get my notification emails as simple text but I can't remove the version tag at the beginning of the message body: < xml version="1.0" encoding-"utf-16" > If I omit it in the XSLT file, it will still be generated. ____ < ContentFormatter > < ClassName > XsltFormatter </ ClassName > < Arguments > < Argument > < Name > XsltBaseDirectoryPath </ Name > < Value > %_AppPath_% </ Value > </ Argument > < Argument > < Name > XsltFileName </ Name > < Value > ExceptionsTransform.xslt </ Value > </ Argument > </ Arguments > </ ContentFormatte ...Show All

  • Visual Studio 2008 (Pre-release) navigate between windows

    hi everyone, i created more than one window in a wpf project and i need to know how to navigate from one to another.. is there something like response.direct or even setVisible thank you you can do something like this Window2  win = new Window2(); win.show();  or <Hyperlink NavigateUri="Window2.xaml"> there is a section in sdk ms-help://MS.MSSDK.1033/MS.NETFX30SDK.1033/wpf_conceptual/html/86ad2143-606a-4e34-bf7e-51a2594248b8.htm ...Show All

©2008 Software Development Network