vijil's Q&A profile
Windows Forms ListView object display error
I was trying to display some rows of information with ListView control. It was contained by a panel. When the application runs, the ListView object doesn't show the columns at all though when at design mode, everything looks fine. Here is my code for initializing the ListView object: ListView lsvCours = new ListView(); private void init_lstview() { pnlNewCur.Controls.Add(lsvCours); lsvCours.MultiSelect = false; lsvCours.View = View.Details; lsvCours.Location = new Point(8, 87); lsvCours.Size = new Size(537, 167); ColumnHeader colStartTime = new ColumnHeader(); colStartTime.Text = "StartTime"; colStartTime.TextAlign = HorizontalAlignment.Center; colStartTi ...Show All
Windows Forms can i dynamic create context menu item
Hi, It seems that i have to new System.Windows.Forms.MenuItem() on initializeComponenet. Can i dynamic create context menu items on the menu list based on how many items i want to put on the context menu after querying my other programming module If not, any suggestion for me Thanks in advance. Use something similar to this: private void Form1_Load(object sender, EventArgs e) { ToolStripMenuItem item = new ToolStripMenuItem("nobugz", null, NobugzClick); this.contextMenuStrip1.Items.Add(item); } private void NobugzClick(object sender, EventArgs e) { Console.WriteLine("nobugz waz here"); } ...Show All
Smart Device Development Download for Query Analyzer
hi, Previously i had query analyzer on my pocket pc, but some how it got removed by me. How to get the analyzer, ie download for it. plz help. It shipped with VS 2005. All CABs are under "%ProgramFiles%\Microsoft Visual Studio 8\SmartDevices\SDK\SQL Server\Mobile\v3.0\" ...Show All
SQL Server How "NOT" to expire the ReportSession and ControlID in the request
This question is related to VSTS and above parameters in the request. Question is: A script created with VSTS for testers has hard coded values for ReportSession and ControlID in the requests, These IDs are expired after some time and scripts fails to run after few hours. Can some one tell me how to set the session expiration time on these ID's in the Report server so I can increase the value to 60*24*365 (1 year) this would solve my problem with hard coded values in the scripts for above mentioned IDs. Thanks for the comment Russell. After making the change to 525600 (1 year) if I set it back to defalt would that clean up the Temp DB for any sessions that were kept. Reason I need this value big is because these ID's are hard c ...Show All
.NET Development Accessing a .NET web service from another machine
Hello everyone A colleague of mine has set up a .NET web service on a server in our network. We're trying to output a sql database that contains our research data. I'm using Django and PHP to display the output. He's given me an URL to access the data. http://webdev1.uni.glam.ac.uk/research/service.asmx When I put this URL into a browser, I see the following output http://pastie.caboo.se/22080 If I now click on any of those operations, I see the following output, it changes for each operation of course, but here's the output for booksperunit http://pastie.caboo.se/22081 It shows a test form to access the data locally. I've set up web services on other software types, Coldfusion, PHP etc, and when I need to access the the data on a differen ...Show All
Game Technologies: DirectX, XNA, XACT, etc. No templates? help please
Hi! I'm extremely new to this, and have little to no experience in these type of things. I installed Microsoft Visual C# Express Edition and registered it. I installed Microsoft XNA Game Studio Express. I installed Microsoft DirectX SDK October. Everything seems fine.... I tried to follow a tutorial on XNASpot.com. Everytime I click "New Project", I get an error. "No Visual Studio template found. See the application log in the Event Viewer for more details." Then, a blank window labeled "New Project" opens, and reads Templates: There is nothing here, no templates to select from. I've tried uninstalling, reinstalling, repairing....I cannot figure it out. Please ...Show All
Architecture About WAP server.
Please help me! How to install a WAP server Can a WAP server be expanded from a Web server (e.g. IIS) Thank! A wap server is a web server configured with some mime types. You can configure IIS to support wml extensions by adding the following MIME Type: text/vnd.wap.wml ------------------ .wml ...Show All
Software Development for Windows Vista Issues with cummunication between Workflow
Hi , Well Now some more issues .. I have a class which is responsible for instantiating 3 workflows ..all sequential When one is executing it raising event which should be handled by HandleExternalEvent by another workflow but in my case Workflow seems to be terminating before it can deliver the messages to Workflow .. I have included my handleExternalEvent of second Workflow in WhileActivity so that Workflow don't terminate ..In the mean time my First Workflow losses its persistence store ... 1. Host Application 2. Workflow 1 3. Workflow 2 4. Workflow 3 step 1. Host Application Communicate with Workflow1 ( I used Local communication service , it works well when Host Application & Workflow 1 ...Show All
Visual C# Convert PDF to HTML in c#
Hi All, I am trying convetsion of PDF file to HTML file using C# which is pure desktop application. Please help me out in this. Thanking you Regards, Dnyaneshwar Hi Galin, This will definately help me. Thanks a lot for your valuable guidance. Regards, Dnyaneshwar Parkhe ...Show All
SQL Server Unable to connect to the remote server
Greetings: We have a copy of SQL2k Report Services running on a Windows 2003 Server. But the database used by the Reports is actually on another box in our network. (This is a option you can use during install.) This setup worked fine for about a year but now neither the reports and ReportManager no longer run. The Reporting services Log error is: System.Net.WebException: The underlying connection was closed: Unable to connect to the remote server. In a browser we get the error: --- " Directory Listing Denied " "This Virtual Directory does not allow contents to be listed." --- Turning on the option to list directory contents in IIS does not resolve the issue. Anyone seen this creep up before I ...Show All
SQL Server Add the NOT FOR REPLICATION Option to Existing Tables
Hello, How to add the NOT FOR REPLICATION Option to Existing Tables( IDENTITY column,FOREIGN KEY constraints )- TSQL. Thanks, Kanna. alter table dbo . testtable alter column [id] add NOT FOR REPLICATION ...Show All
Windows Forms GenerateBootstrapper - install a Microsoft hotfix
Hi; How can I set up GenerateBootstrapper to install 3 specific Microsoft hotfixes - based on if they have Word installed and what version (I assume the hotfix testers handle that in determining if they need to run). The hotfixes are: http://support.microsoft.com/default.aspx/kb/907417 http://support.microsoft.com/kb/908002 From those install: a) lockbackRegKey.msi b) office2003-kb907417sfxcab-ENU.exe - (Office 2003 only) c) extensibilityMSM.msi How can I get these as part of the bootstrapper thanks - dave AFAIK the bootstrapper can search for ProductCode guids, so you need to do a search for whether these productsd are installed: LockbackRegkey.msi {64F3B15C-24C7-4B2B-9B72-65CCBBD7F06B} Extensibility ...Show All
Microsoft ISV Community Center Forums API Used in VBA
Hi Friends, I want to know what APIs acn be used in VBA Programming. Can U help me Thnaks You can use any APIs in VBA that you could use in VB6. If you know which one you want, search google using the API name and VBA or VB6. I'm not sure if .Net versions are compatible, but those are worth a trip to google too. (Google is one of my favorite programming tools, BTW.) ...Show All
Software Development for Windows Vista VISTA x64 Development Platform
Hi there, I was hoping to start looking at doing some development on Vista x64. I cannot find the download on MSDN subscriber downloads anymore, I can only find the x86 version. Does anyone know what the situation is with the x64 version It thought I saw it there a week or so ago. Also, given that I do manage to get the x64 version installed, is there a x64 version of Visual Studio available yet For your reference I have a MSDN Professional subscription. Many thanks, Gareth. MSDN removed the x64 download temporarily to take the strain off the servers from all the downloads. Visual Studio 2005 supports both x86 and x64 development. Cheers, Kenny http://weblogs.asp.net/kennykerr/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. "SPRITE TEXTURE MAP" I need some directions/suggestions
Hi to everyone! and an Amazing 2007! STATUS: I'm working with an effect to damage the armors, itens and etc from my game characters I did notice that the "easy" way to do this was have 2 textures, one to the default difuse channel and another with the holes and scratches overlayed above the Difuse one with alpha channels to "damage" just some areas from the equipment model surface. Since the .X exporters collapse the material maps inside 3ds MAX, I can't use the Composite MAP, and the export to .fx function in Material Editor don't accept any map than not a simple bitmap to this, what lead me to write a HLSL shader to do the texture overlay. I already got one texture above another with different map channels. ...Show All
