MJC2006's Q&A profile
Windows Search Technologies Search only working inside Outlook 2007
Hello, I never used WDS before this, so please bear with me... I upgraded to Outlook 2007 and, on the first run, it asked me if I wanted to install WDS 3.0. I downloaded and installed without problems. Now here's what's happening: Search works ok inside Outlook -- I can find e-mails without any problems. However, WDS on the desktop simply doesn't work. Whatever I type in the search box, I get the following message: "Nothing found in All Locations for query "[query]". I get the same error even when I try a search that does work inside Outlook. Other info: In the "Indexing Options" dialog, all the items (3000+) are indexed, and all the right locations are checked. Can anyone help me Thanks in adv ...Show All
Microsoft ISV Community Center Forums Using VB in Excel 2003
Can anyone help me rework this code. What I need is the code to call four columns. First is a name column. Then a space then 3 numbers separated by slashes each with a different rule for coloring. So example let’s say name is Smith I want Smith 32/15/3.4 And the column where 32 comes from let’s say has parameters 20+ is green, 15-19 is black, 10-14 is red and below 10 is plum and bold. Second column number would be similar except that the parameters would change. So 9-12 would be green, 13-14 black, 15-17 red and 18+ plum and bold My feeling is that I would need three if statements for the colors, but I can’t seem to append the three numbers to a single column with color codes intact. Please help! Private ...Show All
Windows Forms What does Ozzie think?
It seems to me that there is a lot more demand for ASP.NET developers than Windows Forms .NET developers. I believe that any user would prefer to use a desktop application over a browser application when given the choice. I have searched the web for articles which might hint what technical direction Ray Ozzie will take Microsoft. I would like to know how much he supports Smart Clients, ClickOnce, and Office Integration on the desktop, as compared to ASP.NET, AJAX and Atlas. If anyone can shed light on this, please let me know. Thanks, Bren James, I agree with everything you say. I am developing using .NET in both desktop and browser applications. I'm just curious about the direction Ozzie i ...Show All
Smart Device Development PDA device detection when connnected to PC
Hello Sir/Madam, I am developing a PDA smartdevice application where data is stored in sqlce and then i am synchronizing this data with sql server 2000 database server. Before synchronization, i want to check if my PDA is connected to the PC or not. Is there any clue for developing this code in vb.net if i am not wrong, PDA devices are connected to USB devices, so i wil need sample code in vb.net for detecting my PDA with PC. Suggestions -Sunena This forums is dedicated to Device Emulator only. Moving this post to Smart Device VB and C# project forum where it has got better chances of being answered. -Thanks, Mohit ...Show All
.NET Development FAQ
I want to create an FAQ page like this link http://www.bigfatwebhosting.co.uk/help/index.php view=2#top I would appreciate some tips on this. Thanks I believe Greg is correct and to add to it - using say, a datagrid/list and binding it to a datasource (SQL Server for example) setting the labels/textboxes/bindable UI controls to bind the column values retrieved from SQL into the datagrid http://samples.gotdotnet.com/quickstart/aspplus/doc/webdatabinding.aspx http://www.asp101.com/articles/john/repeater/default.asp http://www.w3schools.com/aspnet/aspnet_datalist.asp http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.datagrid.aspx ASP.NET related questions sh ...Show All
SQL Server Report Headers vs Page Headers
Hi, this is probably a simple question but I just can't figure it out. I'm using SQL Server Reporting Services 2005 sp1. I'm trying to design a report that displays a particular embedded image on the first page, and then a different one on every subsequent page. I.e full, fancy company logo on the first page, and a trimmed down version on every other. In Crystal, I would have simply used the Report Header and Page Header sections to achieve this - easy. However, in SQL Reporting Services, there is only a Page Header section - therefore whatever I place in the Page Header shows on every page. Now, I know how to stop it displaying on the first page, but I don't know how to display the other image instead. I read in a support forum t ...Show All
.NET Development Writing Peer to peer applications
Am facing a problem in developing peer to peer appln. first of all a machine has two ips(one private visible in intranet like 192.168.0.121 and second public ip visible in internet 10.2.2.3).now i need to connect to a peer located at remote place with the same criteria(two ips).The problem is i cnt go through the public ip to internal ip.On reading some articles on net i came to know the technique used to connect through public ip to private ip is termed as "HOLE PUNCHING"/"PORT FORWARDING".can some one help me on this issue r is there any alternative other than this.I have to do it programmatically not manually. Bharath If both have global, public IPs why not connect direc ...Show All
Game Technologies: DirectX, XNA, XACT, etc. ..... Okay VB.NET Users I have uploaded a zipped code version with Dlls attached ..... Tridexconsultants ....
foll the link below and download... http://www.tridexconsultants.co.uk/pages/DirectxClasses.htm I will be updating more soon as I crack more of the updates... ...Tridex.... Yes I have bben coding since last night upon down load, DLL are in the debug folder so just add refrence to project... ..Tride.. I will be uploading the 3d engine levler 3d for level design for all vb.net users (Directx9 soon to migrate as soon as I crack XNA) are there are some extended 3d math classes for vectors, matrix e.t.c I want to spead around... Have fun guys and lets catch up with vb.net games... .. Tridex .. Code for life... ...Show All
Windows Forms How to determine which control is at the front
I have a panel which holds a number of fully docked child controls, so only one can be visible at any time (which I set by calling BringToFront). Is there a way to determine which control is at the front without keeping track of it myself i.e which control is currently at the top of the z-order Hi, If all the controls are contained within the same panel, you can check that panel's Controls collection. The first control in that collection (panel1.Controls[0]) is always the top one, and the last in the collection is the bottom one... When you change your controls' z-order (SendToBack, BringToFront), their position in their container's Controls collection is also changed. Andrej ...Show All
.NET Development Web Service Proxy Support in the .NET Framework 2.0. Problems Resolving Host Name. .PAC
We have an Proxy Auto-Configuration (PAC) file that uses the isInNet function to determine if the current request should be directed to our proxy server for external requests or be a direct connect if connecting to an internal server. We have a .net 2.0 client application that makes a call to a webservice. If the webservice’s url is configured with the host name (http://WebServer/WebServices/simple.asmx) we get an “The proxy server could not handle the request” error message. If we configure the webservice url to use the IP address (http://169.12.50.5/WebServices/simple.asmx) the webservice call works fine. If we remove the configuration for the .PAC file on the client machine both urls will work for the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA/Xbox 360 memory management heads-up...
I was just browsing through some docs on the 360's heap manager, and it turns out it is a compacting mark and sweep collector rather than the generational model used on the desktop... So... what's the deal regarding: Large block allocation (will it have a large object heap like the desktop version ) GC pauses times (do all threads halt during GC) Rico Mariani recommends a heap size equivalent to the Gen 0 size on the desktop, i.e. ~cache size. That seems way too small unless we are dumping lots of game data into unmanaged memory! Andy. Rico Mariani's main suggestion for dealing with the compacting garbage collector is essentially to try to make a large chunk of your data as static as possible and to use ...Show All
Microsoft ISV Community Center Forums worksheet_change and data validation
Hi there I have an Excel spreadsheet in which one column has data validation set. So the cells in this column have drop-down lists with the pre-set allowed values. Now I want the cell in the neighboring column to be set to some default value when the user selects an item from the drop-down list. This seemed like it would be easy, using the Worksheet_Change event handler. When a cell in the first column is changed, it initiates a function which sets the value in the neighboring column to some default value: Target.Offset(0,1).Value = "default". The problem is that it doesn't work when using the drop-down list. If the user types in the value manually, or if a cell in the first column is deleted, it DOES fil ...Show All
Windows Forms Refresh Form Without Changing Its Position
I have tried the two following methods and i can achieve refresh purpose but i can't keep the position of the windows. Basically, i hope to refresh the windows which means reexecute from the form_load action without closing or disposing it. Once we dispose or close it, the position will definitely change when we call it out again. May i know how to solve this Thank you. Method 1 Private Sub new_b_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles new_b.Click Me .Close() Me .Dispose() Dim display_form As New current_form display_form.Show() End Sub Method 2 Private Sub new_b_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Hand ...Show All
.NET Development How do you pass a realtional dataset through a web service using the dataset designer??
Hi all, I know most of you would say, why use the dataset designer when you can code by hand, but, I personally find the interface intuitive and much easier and faster creating a typed dataset. For me, the only problem becomes passing the dataset when it holds a relation. In my case, I have historic invoice headers in one table and historic invoice footers in another both created in MS Access. They relate to each other through an invoice number. In the dataset designer, I create the data adapters( queries and tables) for headers and footers. Let’s call it invoices. The query for the Invoice Headers Data adapter is parameterized and filters on customer ID which I pass in through the web method function. I create a relation betwee ...Show All
Visual C++ Repost-Same code compiled sucessfully on a desktop but failed on a laptop
Repost due to the display error.--- Below code can buit sucessfully on a DELL desktop but failed on a compaq laptop.The compiler said that snack 's size is unknow. #include<iostream> #include<string> using std::cout; using std::cin; using std::endl; using std::string; struct CindyBar{ string brand; float weight; int calory; }; int main(){ cout<<"Plesae enter the size to determine the array:\n"; int size; (cin>>size).get(); CindyBar *snack=new CindyBar[size]; cout<<"Please enter the items one by one:\n"; for(int i=0;i<size;i++){ cout<<"Please enter the No."<<i+1<<" 's brand:\n"; getline(cin,snack[ i ].brand); ...Show All
