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

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

Weavor

Member List

Titou
Alex-MyRpg
DOSrelic
Andrew Chapman
kwcah
Bigmo
ejschoen1
davidboothe
BadFog
T.Misner
WendellB
stinosky
nikos_22
The Admiral
Lei Jiang
elinde
Liquid-Crystal
Brian Lawson
johnny_no1_boy
Chr1s Harrison
Only Title

Weavor's Q&A profile

  • .NET Development Problems with IndexOf

    I have problems with IndexOf in C#. It doesn't work properly. This is the code: string i = "    public MceaString getCHORA()"; int a = i.IndexOf("getC");   The value of int a after executing the code is -1. Anybody knows why this happen Could you help me There are four spaces. The code is the following: string i = " public MceaString getCHORA()"; Do you think the version could be the problem Or may be the framework Thank you in advance. ...Show All

  • SQL Server Silent Installation Setup Problem

    Hi, I'm trying to create a silent installation which will create a new instance of the express version on my clients machine, the problem is that i can't set the service account to local service i.e AGTACCOUNT="NT AUTHORITY\LOCAL SERVICE" if im running the normal setup (GUI) i can set this property easly, but from the command line all i get is "NT AUTHORITY\LOCAL SYSTEM" which is the default i think how can i do it from the command line Thanks Hello, I have a similar problem. I already use the mentioned setting (SQLACCOUNT="NT AUTHORITY\SYSTEM" ) but this only works on an English operating system. If you use a German or French OS the account names differ (see ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. So how does this (non)commercial business work?

    Can anyone please enlighten me on how this all will work. How I see it, there are two points for having XNA. 1. To let gamers make Xbox 360 non-commercial games freely to play on their own consoles. 2. To let gamers make Xbox 360 commercial games that they may transfer over live. But can we sell these games & start a business And where do our limits end & then begin again with Pro I have been trying to start a video game business for years now, working with teams and software, and Microsoft XNA can be a new pedestal for my team and business.   Thanks in advance. C# 2005 Express Goto http://msdn.microsoft.com/vstudio/express/visualcsharp/ and download it :) have fun w ...Show All

  • Smart Device Development Errors while trying to access HTMLDocument

    Hi guys I'm developing an App. that uses Internet Explorer Mobile controller in C++( IWwbBrowser2), and I encountered some problems : 1. Not always I can get HR hr = S_OK when executing these lines : CComPtr<IDispatch> pDocDisp1; hr = p1->get_Document(&pDocDisp1); ASSERT(hr); It failes , I think, when the browser navigates to WAP site ( such as wap.yahoo.com, I get as hr a negative value and "E_NOINTERFACE"). Could anyone explain this to me 2. In case, I can successfully retrieve the document, how should I work with it. There are lot of examples explaining how to work with IHTMLDocument but I have no such interface in Mobile 5. I tried to work with IXMLDOMDocument - without success. Thanks in ...Show All

  • Visual Studio 2008 (Pre-release) IIS and .svc file

    Hi, I hosted all services in IIS, for every service must be a .svc file to mapping. The question is whether can combine all .svc file to a single file or can not use .svc file Thanks, Zhihao You can host all of your services as a single assembly containing endpoints for each service. The best way to accomplish this is to create a WCF service library project (If you don't have the wcf extensions for visual studio you can download them)... After you build the project you can host the assembly in IIS and hit each service based on the address of its endpoint.. let me know if you need more info - I can post a sample if you like.. ...Show All

  • SQL Server Foreign Key - ON DELETE RESTRICT

    Hi Are there any way to use foreign key in MS-SQL Express with ON DELETE RESTRICT like other databases Best Regards Igor Sane ...Show All

  • Windows Forms View images in a Image List - List View

    Hi, I've a folder in my disc with images, and I'd like to see all the images in my application. I'm using a List View with an Image List, it seems to work, but it takes a lot of time to charge all images in the view. What can I do I think it can works more faster My code: public void CargarImagenesEnVista() { ImageList IL_Imagenes = new ImageList(); IL_Imagenes.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; IL_Imagenes.ImageSize = new System.Drawing.Size(16, 16); IL_Imagenes.TransparentColor = System.Drawing.Color.Transparent; LV_Directorio = new ListView(); LV_Directorio.Visible = false; LV_Directorio.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.Anch ...Show All

  • .NET Development TcpClient & TcpServer

    Dim client As New System.Net.Sockets.TcpClient Dim Buffer() As Byte = System.Text.Encoding.Default.GetBytes("KKKK") client.Connect(DestIP.Text, DestPort.Value) client.GetStream.Write(Buffer, 0, Buffer.Length) client.Close() I used this code to send data through a port and an IP address. I have succeeded in sending data through a LAN. I don't have a static IP. Can I send data to other computers on the net without a static IP Regards Glenn Zarb If you setup a central server in-between 2 clients, both clients could just call the server. The server would keep track of anything that needed to be sent to the client and when the client checks in, it gets delivered. ...Show All

  • Visual Basic could not update the database

    Part A How do I link textboxes to individual database records when the database has say fifty rows and fifty columns. The idea being to display and maintain a database with textboxes on a form that stand independent of each other that point to a specific spot in the database. Part B Once this is possible then .. To be able to manage this data based on years meaning... I would like to have this basic setup but I am able to have the database represent a set of data for a particular year and I would be able to choose to display data based on the year. Please, if anyone knows .. respond asap.. Thanks Shihan I will be more specific.. I have twelve months for the year (Rows), and f ...Show All

  • .NET Development How to know what exceptions a method can throw?

    I was reading in some other posts that you only have to catch known exceptions. And that it is not allowed to catch Exception like this: private void CheckCancelEntryWeighingRecords() { try { mis.Transfer(data.CsvData); //Call to a third party dll } catch (Exception ex) { LogError("Error occured in CheckCancelEntryWeighingRecords", ex); } } How can I know what exceptions a method can throw So that i can decide on which situation i can recover and on which not I know that the Framework.NET has documented the most exceptions. But what about third party dll's with bad of no documentation I also know i could use reflector to look what the possible exceptions a ...Show All

  • Visual Studio Express Editions Adding Rows

    Hello, Im not having problems, im just looking for some extraways of adding rows, well this is it. example: i have a table with two fields, name & address. to add a row im doing this: DataRow NewDataRow = DataSet.tables[table].NewRow(); NewDataRow["name"] = "Julio"; NewDataRow["address"] = "226W 242St....." But what if i have a table with 10 fields Im planing to make a class so i dont have to repeat the code everytime.. can you guys help me out, even building the class or shearing your xp. first off, thx for the answare.. it's actually beein' of help, specially the creating a method part... now talkin' about this you said... "if the array[] of data given to this method to add into ...Show All

  • Windows Forms Datagrid row problem

    Hi I do not want the cell to highlight when clicked on, i want the cursor to go in immediatly. So i set "editmode" to EditOnEnter. So as soon as you enter the cell it places the cursor there and you see no highlighting. But now if i add values to cells through code it is then highlighted. I need it to be always with just the cursor in the cell. Any other way Is there a way to simulate a click on that cell or select that cell or make that cell with focus Another problem is when i add my value to the column then try to add a row using the following dtgrdGetHandle.Rows.Insert(1, 1); i get an error "No row can be inserted after the uncommitted new row." Why Thanks in advance this does th ...Show All

  • Software Development for Windows Vista Vista Compatibility Check

    Where can I find a utility to see if my VB6 apps will run on Vista I've been to this site, http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/AppComp.asp and I downloaded one tool, but that was to see if apps ran on XP. I need to see if my apps run on Vista without having Vista installed and running about a dozen apps or so. I don't have Vista installed and the Application Compatibiltiy Toolkit, isn't really helpful. I'm looking for something that I can test an existing VB6 app and see if it will run on Vista. Is that what the toolkit does and I'm not seeing it or ...Show All

  • .NET Development fast ping

       Hi,    I need to write a fast ping program to ping class C & D IP addresses. I have written a piece of code to open a socket, connect to it and receive data from it with a timeout. This is fast enough for a few IP addresses but  I would need to ping 255x255 IP's. I have put this code on a separate thread which calls an asynchronous method to loop over the IPs. This is taking a minute for each set of class D IP's. How do I make it run faster Thanks  PS: I am using the 1.1 framework I'm not sure if it works or not but Also try to resuse IcmpPacket packet = new IcmpPacket (); use same packet for each function call in loop be ...Show All

  • SQL Server Error using Execute Package Task

    I'm trying to run a package from another package using Execute package task - I'm getting the error: Error: Error 0xC0012050 while preparing to load the package. Package failed validation from the ExecutePackage task. The package cannot run. . I have Delay validation on the child package. Any other suggestions Thanks Hey thank you it solved my problem. But, it is Weird that we need to leave DelayValidation=FALSE at the package level but set DelayValidation=TRUE for all the tasks.. anyway it works thanks for clarifying this. ...Show All

©2008 Software Development Network