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

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

Milo123

Member List

ChasAA
gdrivas232096
smeets116
Indinfer at Baltimore Med Sys
Andrea Pagliano
abcoura
Jordi Serres
87jerome
MyselffNot
j2associates
Bravo2007
qzrlsd
k4mg
Bonebreak
Raymundo Chapa94595
Slimer74
Alisa Beth
yhal
EnterBS
gbvdh
Only Title

Milo123's Q&A profile

  • .NET Development Strange WMP error with javascript

    I've created a rather complex javascript *.htm page which runs on the coldfusion server model....now...to simlify a great deal. function startTimer() { setInterval("checkslide()", 10); } function stopTimer() { clearInterval(); } function checkslide () { if (document.MediaPlayer1.CurrentPosition.toFixed(1)==1147.0) {document.myImage.src='images/image20.jpg';}; } "document.MediaPlayer1.CurrentPosition.toFixed" works FINE in this instance, however. When I call any function other function such as function halt () { alert(document.MediaPlayer1.CurrentPosition); alert(document.MediaPlayer1.CurrentPosition.toFixed(1)); document.MediaPlayer1.stop(); } "document.MediaPlayer1.CurrentPosit ...Show All

  • Smart Device Development Extract and modify file from a cab.

    Hi, I've create a CAB file with the CABWIZARD, and now i need to replace one of the file. I've download the CABSDK from microsoft site. And when i use CABARC to extract all the files I don't get the exact file that i put inside the CAB, but file with extension like .001, .002.... I want to replace a file with a newest version (same name and same size), how could i do Sorry for my english :p Thanks. You’d need to rebuild CAB from scratch using new file as you've done the first time. There might be 3rd pa rty tools to edit CABs but that is off topic here. ...Show All

  • SQL Server What is the default user mappin when creating a login?

    i login my remote sql server 2005 as 'sa' and then i try the following code: use master go create login [user] with password [user123] go yes. that code created me a sql login 'user', but even before i grant any permission to any database, the login manage to acces database: master, tempdb, msdb and one of my application databases' tables and everythings. i like to know what is it i am doin wrong and what are the default access when creating a login, and is it becoz of any configuration in my server any suggestion or answer will be appreciated. thanks Yes, master, tempdb, and msdb can be accessed because the guest account is enabled in those databases. But the login would not be abl ...Show All

  • Visual Studio 2008 (Pre-release) soap security negotiation failed

    I have a service with no security, atleast i didn't configure any. When I try to call it from another machine it throws an exception saying thta soap security negotiation failed. It works fine when the client is on my development machine but not when it is on other machines. Any ideas Steve The clients need to know who they're talking to. If the service is running as the System or NetworkService account on that machine then you don't really need to do anything as the client will use the default SPN (ServicePrincipalName) which would be host\machinename as opposed to the UPN (UserPrincipalName). When you create your proxy code with svcutil, the UPN (if necessary) will be created inside the config file. As far as hosting choices ...Show All

  • Smart Device Development Panel vs Form based application?

    Hello. I am going to design application for Pocket PC using Compact Framework. I dig in the internet, read articles and I am still wondering : what is the best gui design solution for mobile devices The most important thing (as always) is performance. My application will have many different forms/panels and will be switching between them many times. In desktop version of this application (unfortunately designed in java) we are using panels and state manager which enables and disables panels. But on Pocket PC we got limited memory space so I am wondering : 1. The once created panel exists in memory until I destroy it (dispose) 2. Is there any possibility to remove panel from memory or compress it when it is unused (hidden, disabled) And lo ...Show All

  • Windows Forms Win Vista - Setup Project Deployment

    I have a Setup Project Deployment in VB.NET 2005 for my application In that project I use a Custom Action with a argument "\install" to install a Auxiliary Tool that my application needs in order to run It works fine in Windows XP...but in Windows Vista my setup crashes when it tries to install that auxiliary tool How can I fix this in order to be compatible with Vista another question : How can I change the custom action in order to install auxiliary tools by users choice I don't know, but it crashes when it tries to install a auxiliary program And now..I'm stuck again...I finally managed to get a custom dialog with a checkbox, but the installer doesn't do what I want ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. mesh not rendering

    I set up my camera matrix to look at the origin. Then in my render loop I transform to the cameras matrix d3d->GetDevice()->SetTransform(D3DTS_VIEW, camera.GetViewMatrix()); begin the scene and set the render state. d3d->BeginScene(); d3d->GetDevice()->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME); then transform to the meshes matrix d3d->GetDevice()->SetTransform(D3DTS_WORLD, m_Object->GetMatrix()); and render the mesh m_Object->Render(d3d->GetDevice(), &meshes[m_Object->GetMesh()]); end the scene. nothing shows up on the screen, I took a look in the debugger and everything is positioned where it should be, is this not the proper way to set up the render loop. ...Show All

  • Visual Basic Access server file from client

    hi all, i having a problem to access server folder. i got one folder inside server, which i already shared. but when i access that folder fail. dim host as string = "\\serverId\folder\file.xml" doc.Load(host) ..... error :System.IO.IOException = {"Logon failure: unknown user name or bad password. how i pass the user name and password any one help please......... Khin, Please try the following code, hope that helps. Dim query As String Dim cmd As New OleDbCommand query = "SELECT Password FROM Passwords WHERE " & _ "UserName= " cmd = New OleDbCommand(query, conn) cmd.Parameters.Add( New OleDbParameter( "UserName&quo ...Show All

  • Visual Basic Automatic Namespace generation in VB

    I've just finished a dll written in VB. I've never bothered with namespaces much until now, but this is a bit complex, so I've arranged it into sub-folders, with a top-level class, a few sub-classes (and base classes), and other classes that hang off some of the sub-classes. Every class has the same "Namespace Handler" around it. Looks garbage in the object viewer - every class is under the root namespace. When using the object however, it looks fine, i.e. you only see the correct sub-sub-classes hanging off the correct sub-classes, etc. However, one of my colleagues who talks C# had a look at my code, and commented that my namespaces were not declared properly, then we discovered that when coding in C#, the namespace line wer ...Show All

  • Visual Studio 2008 (Pre-release) WCF datacontract root elements as choice (one and only one)

    How can I model a datacontract with multiple root elements to enforce exactly one root element at a time in the schema, so that the generated schema through svcutil metadata export would render the root elements in an xs:choice DataContract does not support xs:choice constructs. The goal of DC is to be an abstract data model that is very simple (atom/record/sequence), that maps to what can be represented in .NET and most "standard" programming languages. If you want to do schema-first development, you should use the XmlSerializer. ...Show All

  • SQL Server Data Conversion Error on Excel Destination

    I am inserting rows using OLEDBDestination and want to redirect all error rows to EXCEL Destination. I have used Data Conversion Transformation to Convert all strings to Unicode string fields before sending it to Excel Destination. But its gives the following error. [Data Conversion [16]] Error: Data conversion failed while converting column 'A' (53) to column "Copy of A" (95). The conversion returned status value 8 and status text "DBSTATUS_UNAVAILABLE". [Data Conversion [16]] Error: The "output column "Copy of A" (95)" failed because error code 0xC020908E occurred, and the error row disposition on "output column "Copy of A" (95)" specifies failure on error. An error ...Show All

  • Gadgets Problem getting XML through network/proxy

    Hi, I was following the "Gadget Developer's Guide" to create a simple one that gets XML from my machine and render it as HTML,  The XML is exactly the htmlcontent.xml in the guide, and I tested the URL works fine, the response on GET request looks like: HTTP/1.1 200 OK Content-Length: 418 Content-Type: text/xml Last-Modified: Wed, 13 Dec 2006 18:26:31 GMT Accept-Ranges: bytes ETag: "6e595436e41ec71:36c" Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Thu, 14 Dec 2006 03:22:43 GMT Connection: close     < xml version="1.0" encoding="utf-8" >     <XmlContentDoc>         <Content type="html">        &nb ...Show All

  • Internet Explorer Development IE7 auto shutdown problem

    I downloaded the IE7 from Yahoo! a couple of days ago, and installed it. My PC was bought from Dell two years ago with XP Pro (Pack 2). The installation process was normal. I was able to access the internet as before (AT&T DSL). However, after a couple of clicks, the program just shuts itself down automatically without any warning. I was able to download another copy from microsoft.com, and reinstalled it. The problem is still the same. Now after launching IE7, it will likely shut down before my 5th click. Please help solve this problem or tell me how to go back to the previous version of IE. Thanks a lot. - Steve Well I still have problems with the IE7 and not really sure what to think about it besides the fact that MS doe ...Show All

  • Software Development for Windows Vista how to customize icons shown in the designer

    Hi, does someone know, how I can replace the images shown for the root activity and for the last activity in the designer with my own images I mean the white arrow within the green circle on top of the designer surface and the white circle within the red rectangle at the bottom of the designer surface. All activities are shown inbetween these symbols. Regards, Mario Solved this myself. I found that the workflow itself is an activity by studying the FlowChart example provided at this site. Together with the information in the designer rehosting example at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/WFDsgnRehst.asp I managed to control painting of all stuff on the designer surfac ...Show All

  • Visual C++ Use _chdir instead of _chdir?

    Hi all! When compiling my solution lately I get some original remark from the compiler:   1>..\bla.cpp(61) : warning C4996: '_chdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _chdir 1> C:\Programme\Microsoft Visual Studio 8\VC\include\direct.h(69) : see declaration of '_chdir'   I am using VS2005 (English version) with Service Pack 1, and Windows XP Pro  SP2 (German Version).  What could be the cause for this erronous compiler behaviour   Regards, Claus Thanks for pointing me to Microsoft Connect. There I found a very similar problem: https://connect.microsoft.com/VisualStudio/feedback/V ...Show All

©2008 Software Development Network