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

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

zensunni

Member List

Smarty
jason d
phoenix11
Soheil Amjadi
jdonahue1971
Cr7pt0r
Scottzrn
Stephen J.Vanterpool
Goat Spirit
iccle
AmrishDeep
R.Arjun
WV John
Wings_That_Fly
Divya Bhasin
XImplosionX
Yahweh
Hatzi74
Wayne.C
BIGuy
Only Title

zensunni's Q&A profile

  • Smart Device Development any built-in dialog box available for choosing among a list?

    Hi, My application requires to prompt the user to select among a list of options. This dialog should actually display a list of buttons for an array of items and should get closed when the user clicks on any button, returning the item that the user has chosen. I want something like a replacement to Dialog.ask() in BlackBerry. Does any one know if there is a direct way to call such a dialog or do i have to create a new form just for that purpose Please suggest! - Hari ...Show All

  • Visual Studio Team System Unable to Add New Objects

    I'm having a problem adding new objects from Solution Explorer. When I right click on Tables and select Add New Item the Categories / Templates are blank. Therefore I can't add a table. I've tried re-installing CTP4 but to no avail. Not sure what's changed as I was able to do this before. How do I fix In CTP4 we do not allow you to add anything but a generic script type from Solution Explorer, you need to use Schema View if you want to add explicit types in CTP4. -GertD "DataDude" Development Manager ...Show All

  • Visual C++ CList and template

    Hi guys, I made a template that will works on a CList type, but it doesn't work. template <class T> class CIntFile { // ... void Write(T list); }; template <class T> void CIntFile<T>::Write(T list) { //// list.GetAt(0); list.Next(); //// } ///////////////////////////// in another file: CList<CIntMyClass> listMyClass; /// fill it listMyClass.Add(NewData); /// CIntFile<CIntMyClass> intFile; intFile.Write(listMyClass); -------------- Why Tnx CList<CIntAirport> mylist; CIntFile<mylist> intFile; CIntAirport airport; // .... mylist.AddTail(airport); Templates must take class names not variables: CIntFile<CList<CIntAirPort ...Show All

  • SQL Server Between + '%'

    helloo I have this table Id Code -- -------- 1 10101001 2 10101002 3 10102001 4 10102002 5 60101001 6 60101002 7 60102001 8 60102002 9 60201001 10 60201002 11 70101001 12 70101002 I need to query this table by the following (select id, code from table1 where code between '1' + '%' and '7' +'%') to get all values of codes between (code starting with 1) and (code starting with 7) or for example: (select id, code from table1 where code between '602' + '%' and '7' +'%') ------------------------------------------------------------------------- Im not getting correct answers or let be specific in the second query im not getting codes starting with 7, im only getting codes >= 602 but less that 7, so 7 is not incl ...Show All

  • .NET Development dataset row delete problem

    im trying to delete a few rows using a foreach statment but after the first deleted row it throws a error here is the code foreach(dataset.Table1Row row in ds.Table1.Rows) { if (row.Type == i) row.Delete(); } the error has to do with the modification of the dataset in a loop the only other thing I can think of is to save the row index into a array then loop using a for statment and delete that way but cant figure out how to get the row index number thanks j well yes, you are modifying the object whilst iterating through it - it doesnt work like this. you may wish to say, copy over the datatable to another datatable:   DataTable theCopiedDT = dataSet.Tables[0]; ...Show All

  • Windows Forms Change the default install directory

    Is there any way to change the default installation directory in VS.NET 2003 It is a setup and deployment project. I have found the dialog in the user interface, but there is no property to change the default location from "C:\Program Files\..." to a different path. Is there some other way to do this Thanks ...Show All

  • Windows Forms Data Grid View Control Row Headers and Column Headers in Visual Studio 2005 C# DotNet

    Hi I am getting the problem in changing the Default Back Color of the Column header and the Row Header of the DataGridView Control in Visual Studio 2005 C# Dot Net. Can you please give the solution or the way around. Ajay Kumar Software Engineer Metacube Softwares Pvt.Ltd. Sitapura ,Jaipur. You will have to draw the row and column header yourself in the paint event to change the back color. The row # is -1 for the row header and the column # is -1 for the column header. private void dataGridView1_CellPainting( object sender, DataGridViewCellPaintingEventArgs e) { if (e.ColumnIndex == -1 && e.RowIndex >= 0) { StringFormat sf = new StringFormat (); sf.Alignment = StringAlignm ...Show All

  • .NET Development Is it possible to connect to microsoft access database on network drive from visual basic?

    I am new in visual basic. I would like to know is it possible to connect to microsoft access database on network and perform add, delete, edit and update function. What is the correct connection string to use I tried to connect to microsoft access database on network, it show that "The database is read-only. You won't be able to save changes made or object definitions in this database.". Is there anyone here that can help Thanks in advance. yes you can connect to it via network. Just be sure that the database file is NOT read only and that you have the correct share permissions of that folder where the database is, so you can access it. the connection string should be the sa ...Show All

  • Smart Device Development Error in Accessing IIS Server.

    Hi all, Iam using a PDA which transfers the data from the PDA to the local system using ActiveSync. Iam able to browse the Internet using this PDA. Iam not able to access the Local IIS Server of the Desktop to which this device is connected. for Example: I have a Windows XP System and a PDA(BIP 3010). I have connected this PDA to this XP PC using an Cradle and active sync 4.0. i want this pda to browse the Local host which have some web services. can anyone tell me how should i browse those pages in the local PC Thanks in advance Biju S Melayil Ok, lets see... I definetly had similar problems myself, but its been many month since that. First try unconnecting the mobile device from computer. When plug ...Show All

  • SQL Server Opening package stored in MSDB

    I created a package using the Import\Export wizard and saved it to the local Sql server. Under Management Studio I can see the package, can run in, import it, export it BUT how am I supposed to edit (modify the thing) it TIA, barkingdog Loonysan, What you described strikes me as totally counter-intuitive. Under sql 2000 after I create and save a simple package, I can double-click it in Enteprse manager (the package opens), and proceed to work on it. End of story. If I undestood what you said, I have to export my sql 2005 package (say, stored in sql servr) to a dtsx file and then import that into BIDS. This seems overly complicated to me. Thanks, Barkingdog. ...Show All

  • Windows Live Developer Forums Found the problem, Firefox

    Can someone provide a link to a sample GeoRSS XML file. I want to see if my code is working Maybe the VE team should keep a sample file permanently available for developer to test against. jerry Okay I'm assuming you've already implemented the Firefox hack on the wiki.  After trying to duplicate it on my machine, I'm seeing this error off of firebug: Permission denied to call method XMLHttpRequest.open Apparently this is caused by an un-signed script in a Mozilla based browser.  Namely when trying to use XMLHttpRequest (from calling the veLayerSpec.LayerSource) off a remote computer.   I'd recommend looking this up further on google or check out the following li ...Show All

  • Visual Studio Team System Alphabetically ordered allowed values

    Hi When specifying a list of allowed values on a field, these are sorted alphabetically when shown in Visual Studio. Is there a solution to order the list different Regards, Thomas Ardal AFAIK. Not natively. I feel your pain. One option is perhaps now under SP1 is you could create your own control and thus order as you desired the trick would be what to use as the order by indicator. I'm sure in the future we will see an order by attribute in the allowedvalues and/or other tags. It would indeed be a very nice to have. ...Show All

  • .NET Development Question about Garbage Collector in VS2005?

    As I understand it, NET doesn't do memory defragmentation in LOH. GC only kicks in when certain conditions met. Assume my PC has 11 blocks(0..10) of free memory. And I do the following gcnew obj1. Assume that obj1 accupies block#5 doing other things obj1 is nolonger used. waiting for GC to collect. gcnew obj2. Assume the size of obj2 is 6 blocks. Will the GC kick in right after step#3 so I have enough memory for step#4 Do I need to do GC::Collect() to make sure Thanks. hdp Hi hdp The GC will perform a collection under three conditions (simplifying for this explanation): 1. GC.Collect() is called. This is known as an induced GC. 2. An allocation fails. T ...Show All

  • SQL Server How to select rows that may be locked & deleted with UPDLOCK by other connections?

    I have this procedure that Selects with UPDLOCK and then Deletes the Row but does not commit the transaction until later. While the delete transaction is still active and has not commited, I'd like to have other procedures from other connections be able to still see the deleted row. How can I accomplish this Thanks Costas If you work with SqlServer 2005 you can use snapshot isolation and row versioning. They are well described in the following document: http://msdn2.microsoft.com/en-us/library/tcbchxcb.aspx ...Show All

  • Community Chat Data Generator

    I needed fake data so I looked on the net, most sites want some money for data. no problem, consensus bureau doesnt. You can download text files without cost. I wrapped First, Last and City, Towns and Zips into a random data generator which you specify how many rows to create. It builds random sets so it is not identifying. Its nothing spectacular or anything to brag about but it saved me lots of time. It is written in VB6 and has an Access database. Again, nothing to brag about - if you want it, i can send it. freeware. ...Show All

©2008 Software Development Network