stallion_alpa's Q&A profile
Gadgets Help test the screensaver gadget
Before releasing this to the masses, I was wondering if a few of you could go ahead and install my gadget and see if it works. It works on my machine but may not on someone else's if things don't register correctly. The gadget is a simple screensaver gadget that embeds a screensaver that you choose into its window (see http://blogs.msdn.com/photos/markhsch/picture1718045.aspx for a screenshot of it using the Ribbons screensaver). If you install it and it displays a white window with a red x, remove the gadget and re-add it to the sidebar to see if it goes. If you do test, please post on this thread with your results (either positive or negative). Thanks and here's the link: http://www.schmidt6.com/blogfiles/ScreenSaverGadget. ...Show All
Visual Studio 2008 (Pre-release) WCF with raw TCP Clients
Hi! I'd like to create a WCF Service that receives requests from a raw TCP client. I mean, the client sends a stream of bytes through a given TCP port. My service has to be able to receive the stream of bytes, make some operations, and then respond. Is this king of interoperatibility possible Thanks, Giten. Giten, Using HTTP is an option if you're okay with HTTP's features and constraints. If you do this you are unlikely to write any custom code for the service. Otherwise, you'll need to write a custom MessageEncoder that understands the data your raw TCP client will be sending and knows how to create Messages out of it. Let me know if you'd like to know more about this option. Ondrej ...Show All
Windows Forms How to create a vertical progress bar?
I am trying to create vertical progress bar but cannot seem to find an orientation parameter. Am I missing something Nope you're not missing anything. The .NET progress bar doesn't include a vertical mode. Crazy huh You can find a ton of them searching on the net; my personal favorite is this one on The Code Project: http://www.codeproject.com/vb/net/SPB.asp You should read the comments and incorporate some of the suggestions people make - they're real improvements to the bar. ...Show All
Visual Studio Tools for Office VSTO 2005 not installed, getting Office 2007 - OK?
I have Visual Studio 2005 Standard Edition, Office 2000, and Outlook, FrontPage & InfoPath 2003. When I purchased VSTO 2005 I chose the upgrade edition since I already have a version of VS. Unfortunately, VSTO will not install because "Microsoft Office 2003 with Service Pack 1 (SP1) is not installed on this computer." I'll be upgrading to Office 2007 (Small Business). My question is what steps will I need to take in order to be able to install VSTO 2005 before I can install the SE upgrade. I don't know if the VSTO 2005 installer will be "smart enough" to realize that Office 2007 is an upgrade from 2003. Any help would be appreciated. Thanks a bunch. Success! For those who might be interested, this is ...Show All
SQL Server pda *.sdf database
Everyone keeps telling me to ask this question in a differeent forum hope this time I have the right one.....!!!!!!! I've created a small database to bind to my datagrid...*.sdf.. When I edit it all it gives me option's is to change column headings, I need to add 30 rows and don't know how!!!!!!!!!!! The datagrid will be initialized in my form load sub. It will contain some static data (the user will not change anything just select)the user selectred a number from within the data grid that is then used later for a computation. Ideally I would like to not bind any database to this but initialize the entire grid within the form load procedure!!!!!!!!!!!! MSFlexGrid was much easier in this respect.......... No matter what i do it ...Show All
Visual Basic Why doesn't dataadapter.update(datatable) work?
I am trying to update a single table in an Access database. Heres my code: Dim strSql As String = "SELECT * FROM ProductDB" Dim da As OleDb.OleDbDataAdapter = New OleDb.OleDbDataAdapter Dim builder As OleDb.OleDbCommandBuilder = New OleDb.OleDbCommandBuilder(da) Dim dr as DataRow da.SelectCommand = New OleDb.OleDbCommand(strSql) da.SelectCommand.Connection = conn da.UpdateCommand = builder.GetUpdateCommand da.InsertCommand = builder.GetInsertCommand da.DeleteCommand = builder.GetDeleteCommand dr = dt.NewRow ' dr.BeginEdit() 'Superfluous dr.Item(0) = txtName.Text dr.Item(1) = txtBrand.Text dr.Item(2) = txtWeight.Text dr.Item(3) = txtColor.Text dr.Item(4) = txtPrice.Text ' dr.EndEd ...Show All
Visual FoxPro GRID JAM ON A NETWORK WITH VFP9
We're facing this problem. We have a grid which is the detail of a header table. The two tables are linked with a relation in the data environment. We use the application on a network; two users enter the form, both insert some detail records linking a different header code (e.g. 5 lines each); one of the users is pointed in the middle of the grid and he DOESN'T SAVE the data; the other user after having inserted the header code and the detail lines saves the data; the user who doesn't save, goes through the grid with the arrows and his data are replaced "virtually" by the data the other user committed ! I created (and I can send it) a simple example with base VFP9 classes to reproduce this behaviour. This is a big problem for ...Show All
Visual Studio 2008 (Pre-release) Dynamic ToolTip in TreeView
I am new to WPF. I have a treeview. TreeView contains textblock in TreeViewItem. There is a ToolTip for each leaf . I want to display the tooltip only when the full text is not visible due to small size of the window. Is there any way to do it The text is not trimmed as TextTrimming is set to None. The TreeViewItem generated by applying HirarchicalDataTemplate which contains a TextBlock bound to data. And the TextTrimming of this TextBlock is None. ...Show All
Smart Device Development smartphone user internet programming questions (list controls, menu)
hi, I have question on how to implement a native style list controls in smartphone, i found a tutorial on doing so in .net on msdn just wondering is there a win32 c++ version http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/sp_lab3_implementing_list_controls.asp another question is i would like to create a menubar with the following style _______ | Edit | | Delete | | About | Done | Menu when i select Menu there will be another popup menu and the "Done" just like a button I found a tutorial on msdn to do the menu bar but the the menu just act like 2 buttons http://msdn.microsoft.com/library/en-us/dnppcgen/html/nativec_dev_wm_vs2005.asp frame=true is there a tutorial on msdn ...Show All
SQL Server Instances
How to see the no of instances created for my server. Launch the services console: services.msc - it should list a separate SQL Server service for each instance. You can also check the registry: HKLM\Microsoft SQL Server\Instance Names. Thanks Laurentiu ...Show All
Windows Live Developer Forums OGC WMS/WFS connection in Virtual Earth
Hello all, MSN VE is looking fantastic and getting better. Indeed a good option against google earth. But I could easily make some php scripts that could connect WMS to Google and project data on the fly to GE and this was also possible with MySql+GE connections. But did anybody already do an experiment to connect a WMS to MSN Virtual Earth I would be very much delighted to have some codes if possible. Shuman Kibria Please contact kibria14829@itc.nl Yes, it's fairly easy to overlay WMS in 3D mode. There will be samples available soon. In 2D mode, you can overlay if the WMS server can project to Mercator, but the browser can't do reprojection on the fly. You can use something like MapCrun ...Show All
Visual Studio Express Editions interested in programming
I am interested in learning programming. First, I need to find a dictionary of keywords. Rules for using keywords. How to express ideas in computer language must be learned. Then some hard work learning and using knowledge. Microsoft encourages people to use resources to develope programs I believe. C++ combined with visual studio to make Visual c++ Express 2005 with Windows xp in my computer. Yeah, I wanted to not charge originally, then I decided to charge. I have recently decided to make it free again but changing the whole site is too much of a mission. Will do it another time. EDIT: Ok, it wasn't actually such a mission. Just had to change the template ;) Anyway, it is done. ...Show All
Visual Basic How to make Sub-Functions in My API
Im quite long busy with makeing my own api. it goes very well. now there is a function: Player.Level(i) they get a player Levek if they do that: Public Function Level(ByVal i As Integer) /* MY CODE HERE*/ End Function But noe i would like to make a sub function. So they can do this: Player.Level.Edit(i,level) How do i insert such subfunction in the Level function I hope someone can help me with this. a sub-function I'm not sure what that is... Why not just make a function called LevelEdit in PLayer ...Show All
Windows Forms folderBrowserDialog Problems in C#.NET
my Windows Form contains one folderBrowserDialog which is only showing folderBrowserDialog form with Button like Ok, Cancel ,and New Folder and TreeView of local computer is not Showing if(folderBrowserDialog1.ShowDialog() == DialogResult.OK) { txtDestPath.Text =folderBrowserDialog1.SelectedPath.ToString().Trim(); } i got remdies . actually i was using 3rd party controls in this project which is customise treeview control in same project that 's by not showing folderBrowserDialog. i wrote customise olderBrowserDialog with use of third party control and now it 's working fine ...Show All
Visual Basic VB.Net and SQL Commands
I need to invoke SQL Command TRUNCATE TABLE in my VB.Net code behind logic. I want to clear out an SQL table of all data before refreshing the data. Can't seem to find a code example. Thanks. Private Sub DeleteTable() Dim strSQL as String strSQL = "TRUNCATE TABLE <tablename>" Using connection AS New SqlConnection(YourConnectionString) Dim cmd As New SqlCommand(strSQL, connection) cmd.connection.Open() cmd.ExecuteNonQuery() End Using End Sub micropterus_sal wrote: I need to invoke SQL Command TRUNCATE TABLE in my VB.Net code behind logic. I want to clear out an SQL table of all data before refreshing the data. Can't seem to find a code example. ...Show All
