jon albinini's Q&A profile
Smart Device Development GPRS Connection Setup in Code
Hi, I was wondering if there is a way to configure a connection for GPRS on a windows mobile 5 device in code. I am having a few problems doing it through setting the registry as I can get the connection to appear under the Connections > Manage existing connections dialog but if I try and connect to the connection I am prompted for the username and password however I do not want this prompt to appear. I have been able to do configure the connection with great success for a windows ce 4.2 and pocket pc OS however it seems a little different for the mobile 5 device I am working ok. I do not want to import registry entries, I would like to be able to set the registry values in code, which is working as I get the connection in the required ...Show All
Visual Studio How to add a file and project reference
My project creates a class library and a website. I am using the sample that installed itself and modifying it as needed. My samplesolution.vstemplate has the following entry to create my solution: < ProjectTemplateLink ProjectName = " APP_BL " > Projects\ClassLibrary\ClassLibrary.vstemplate </ ProjectTemplateLink > < ProjectTemplateLink ProjectName = " $WebSiteName$ " > Projects\WebSite\WebSite.vstemplate </ ProjectTemplateLink > There are certain dll's that I would like to reference in both the APP_BL library and the website that gets created. I also would like to reference APP_BL in the website as well. I have been unsuccessful in trying to implement Microsoft.Practices.RecipeF ...Show All
SQL Server MDX - include all years - non empty question
Hi, I'm attempting to run an mdx query where I want to return all years in a range, and only the corresponding details for those year ranges. I'm finding that if I include empty cells, I receive the proper years in the date range, but I'm also receiving every possible combination from the lookup tables. For example, I'm trying to retrieve the currency symbol for each dollar amount between 2002 and 2006. I know that there is only data for 2006, but since I'm using a matrix table in reporting services, I want to show every year, even if results are null (similar to a left outer join). The ideal results would be: 2002 null null 2003 null &n ...Show All
Windows Forms inherited forms, something missing
Hi, I'm playing around with inherited forms but I'm somewhat confused. I build a normal Windows Application (vb.net2005) and added a baseform to it. Added some buttons as shown in the Walkthrough and added some code to the button_click events. Finally I builded the project. So far so good. After adding a new inherited form (called testForm) based on my baseform I can add and change properties for the buttons. However the code I added is not there and so when I click the buttons on my testForm nothing happens. Clearly I'm missing something but I don't see what. Anyone Cheers, Frank (crossposted in Windows Forms Designer, sorry for that) HI Frank, By default, the controls on your base form ...Show All
Game Technologies: DirectX, XNA, XACT, etc. My XNA Game 'iFACTOR'
Believe it or not, this time it's not a question :) I appreciate all the help I've been getting on this forum and I'd like to share some media of my first game. The media was taken from a Windows build but the game is designed for Xbox360. http://www.vector2games.com/ Thanks, Dave I looked at the video but couldn't figure it out. I guess if I played the game it might be different. ...Show All
SharePoint Products and Technologies Modify upload page
Hi, i want to create a document library based list, which will be little bit extended in upload item page. I want to let user specify his own filename and let him add some extra information. Im able to create new list that inherits from document library in VS05. But i do not know which exact part i have to modify. Thanks in advance for suggestions. Peter ...Show All
Software Development for Windows Vista IFilter Problems
Hi, This is my first posting to the MSDN forums, though I've been an MSDN member and Windows developer since the Windows 3.1 days. I'm hoping that someone can help me with the problem I'm having trying to get an IFilter to load under Windows Vista Beta 2. I've tried both my own filter (that works fine with Windows Desktop Search under XP), the sample filters (like SmpFilt), and filters that I've downloaded (like the Microsoft Visio 2003 filter), and none of these appear to be used when building or rebuilding the index. In the former two cases, I can tell because I have debug messages embedded in entry points such as DllMain, and in the latter case, I can tell because most of the data in the sample .vsd file I'm using is not indexed. ...Show All
Windows Live Developer Forums Windows Live Messenger Not Working
Hello , When i try to run Windoes Live Messenger I get this window http://img333.imageshack.us/img333/9122/untitled4ga.jpg My friend told me that it may be fix by giving my his files from : C:\WINDOWS\WinSxS He gave me those foulders :- 1- x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.91_x-ww_0de56c07 2- x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd 3- x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c i replaced them over my files and now i get this : http://img147.imageshack.us/img147/1849/untitled0om.jpg and then Windows Live Messenger still not working :( .. Please help me I'd try re-installing: here a link to the latest release http://get.live.com/messenger/overview Note: ...Show All
Visual C# Difference between Window's form Constructor .vs. OnLoad
I need to populate a grid control, but I don't know where is the best place do it. I would like to see my Form already filled when the form is shows. I don't know how to decide where is better thanks in advance for your help, Edward I would say Form_Load simply because it makes logical sense. a Constructor should only construct the object and nothing else, not for example connecting to a database and doing other bits and pieces - thats not what a Constructor is for. Doing it on Form_Load is better as well, it makes sense as you are doing something on the form loading event. if you construct an object and you are connecting to a database for example, it will take time as databases are expensive and als ...Show All
Visual Studio 2008 (Pre-release) Multicast with UDP Transport Sample
I'm trying to use the UDP Transport sample to perform a multicast from a single server app to multiple clients. I'd like the server to broadcast the message on a subnet to any clients that just happen to be listening. My problem is that I can't find any documentation on how to do this using the UDP transport sample. Any ideas or suggestions Thanks. Bruce Bukovics I am still not totally comfortable with msmq as a multicast delivery mode for a ws-eventing/pub-sub design pattern. A fundamental concept of pub-sub is that the subscription part should be dynamic. Clients should be able to subscribe and unsubcribe to any number of topics on the fly. With msmq, IP multicast is achieved by configuring a queue with a multicast address so each ...Show All
SQL Server SQL Browser Service wont start.
Hi: I have issue starting SQL Server Browser service on a SQL 2k 5 machine. when I start it from the services applet in control panel, I get the following error message: The SQL Server Browser service on Local computer started and then stopped. some services stop automatically if they have no work to do, for example the performance Logs and Alerts service. I tried starting it from the surface area configuration tool as well but could not start. I alos tried to start sql browser from the command prompt using the sqlbrowser.exe -c. I get the following message: C:\Program Files (x86)\Microsoft SQL Server\90\Shared>sqlbrowser.exe -c SQLBrowser: starting up in console mode SQLBrowser: starting up SSRP redirection service SQLBrows ...Show All
Visual Studio 2008 (Pre-release) Bind group of RadioButtons to one variable
Hi guys, How can I bind IsChecked RadioButton property for the group of RadioButton-s to one variable which can be assigned the value from 0-10, depends how many RadioButton-s I have. <StackPanel> <RadioButton IsChecked={Binding Path=IsCheckedVar} /> <RadioButton IsChecked={Binding Path=IsCheckedVar} /> <RadioButton IsChecked={Binding Path=IsCheckedVar}/> </StackPanel> Of course all of them have the same IsChecked state in this case. Any help is appreciated. Irina Create a value converter (a class which implements IValueConverter) and have it convert the numeric value into a bool for each radiobutton. In the binding syntax, set the ConverterParameter proper ...Show All
.NET Development Reflection + late bound COM object = not working.
Hello, I'm trying to discover properties of a late bound COM object, I do: Type newtype= Type .GetTypeFromProgID("MyCOMLibrary.MyCOMType"); object newobject = Activator .CreateInstance(newtype); System.Reflection. PropertyInfo [] props3 = newtype.GetProperties(); However, 0 properties are returned when object really has a few properties. If I instantiate the com object by a RCW it works ok. Please note I have simplified the code above but in my application I don't know the properties names, I don't even know the ProgID, I need to discover the properties at runtime without knowing the name. So, what can i do Thank you for the answer Mattias, ...Show All
.NET Development Out of memory exception (c#, .net 2003, large images)
Hi, I am developing an application (c#, .Net 2003, Framework 1.1) that deals with large images. The application captures multiple image frames and stitch them up into a large hige-res image. We are looking at 50+ frames and sometimes more than 100 frames of 1024x768 color images. I am also using double buffers for edit purposes. To get an idea of what this application does: beyond the image acquisition and stitching, it is very similar to Paint.Net ( http://www.getpaint.net/index2.html ) in providing tools to draw on top of the image. The program is hitting out of memory exceptions -- sometimes even with smaller images. Documentation on LOH seems to explain this observation well, especially with memory fragmentation a likely cause of ...Show All
SQL Server Index creation in SQL Server 2005 Management Studio - Page locks disabled by default
When I create an index on a table using SQL Server Management Studio, the index has page locks disabled by default. I'd prefer to have page locks enabled by default so neither I nor any other developer has to remember to manually modify. How can I accomplish this Thanks, Pat Brickson The default settings for new indexes are hard coded in the dialog to match the defaults in SQL Server if you don't specify any options. There is no way for end users to change these defaults in the dialog. Thanks, Steve ...Show All
