Zakamon's Q&A profile
Office Live Development Adding data to custom list
We are building a custom application for office live. Here we are using a form web part that would accept data from the user in a wizard like format and would save that data into a custom list. We are trying to figure out how to store the data in the custom list, but have not received any success so far. I tried using the UpdateListItems method of the sharepoint web service Lists.asmx, but have been unable to do so. If I try to invoke the web service from a console application programatically, I get an 'Object moved to ' error referring to a login.live.com url. I am wondering if I am moving in the right direction. What I need to know is exactly how can we save data to a custom list, using the sharepoint web service or otherwise. T ...Show All
Audio and Video Development Sound
hi..a rooki bothering u guys...i didnt know where to make this post.. got a little problem...i cant but my surround sound system on..i used soundstorm but even that doesent work :( I'm not sure where you should put this post either... maybe try the general Windows Media newsgroup and see if you have any luck there http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia&lang=en&cr=US This forum is for developers interested in the Media Foundation multimedia platform on Windows Vista. ...Show All
Windows Forms Creating a login form
Hi, My name is chris. I am having some issues making a login screen for my visual basic express application. I created a login system for my MS Access Application but for some reason I can not use the same code for my new Visual Basic Application. The following code below is from my MS Access Application Can anyone help me with this problem. - Option Compare Database Option Explicit Public LogAttempts As Long Const Message1 = "Please enter a valid username and password" Const Message2 = "Please note the user name or password is invalid Please Try Again Const Title2 = "Access Denied!" Const Title1 = "Access Denied!" SYS_LOGIN - form Private Sub cmdLogOn_Click() On Error GoTo Err_cmdLogOn_Clic ...Show All
SQL Server Database name
Is it indeed a requirement that database mirrors have the same name on a server The reason I ask is that I have several servers with the same database name, and I'd like to mirror all of them to a single (disaster) server and, by necessity, have each mirror to a distinct db name. Thanks ...Show All
Visual C++ Problem with drawing the rectangle
Hi, I have this kind of class: // SplashWnd.cpp : implementation of the CSplashWnd class // ///////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "CapturePrevWnd.h" #include "Resource.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CSplashWnd class CCapturePrevWnd* CCapturePrevWnd::m_pSplashWnd = NULL; CCapturePrevWnd::CCapturePrevWnd() { start.SetPoint(0,0); end.SetPoint(0,0); } CCapturePrevWnd::~CCapturePrevWnd() { // Clear the static ...Show All
Smart Device Development VS2005 and WinCE4.2...?
Hello, I get a device with WinCE 4.2 installed and I want to adapt my program written for WinCE5.0 for this WinCE4.2 installed device. When I click Change Target Platform in the Project menu, I can not see Windows CE 4.2 in the combobox. How can I do this Thanks in advance. Yes, NETCF V2 SP1 adds runtime support for CE 4.2. That does not change VS in any way as NETCF is not VS. With SP1 you can run NETCF V2 applications on CE 4.2 which you’ve developed in VS 2005 using CE 5 as target. ...Show All
Smart Device Development Save SMS to the inbox
Hi I am developing an application in vb.net CF to send the SMS from pocket pc I got one demo from the following link :. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/netcfsendsms.asp I can send messages to other mobiles but it's just displaying it on the mobile , I want it to save in the inbox . Anybody please give me solution for it . thanks. .NETCF does not supply SMS functionality out of the box. You may need to look into either a third party solution (perhaps OpenNetCF has one) or re-ask your question on one of the windows mobile forums: Windows Mobile API : microsoft.public.pocketpc.developer microsoft.public.smartphone. ...Show All
.NET Development Hight CPU Usage on idle
Hey guys, Could anyone please have a look at this code. As soon as the Listener is started the CPU runs up to +40%. Code: Imports System.Net Imports System.Net.Sockets Imports System.Text Public Class clsServer Public Clients As New Collection Private Listener As TcpListener Private t As System.Threading.Thread Private reader As System.IO.StreamReader Private writer As System.IO.StreamWriter Private Lock As String Public Sub StartListening() 'We'll use the local IP (127.0.0.1) and port 2501 Listener = New TcpLis ...Show All
.NET Development Reading Binary Format (QBasic) with C#
I have a binary file with data stored in an old format [Microsoft Binary Format (QBasic)] The file is configured like this ----------------------------------------------------- Start Byte | End Byte | Lenght | Description | ----------------------------------------------------- 0 | 3 | 4 | date format YYMMDD | ----------------------------------------------------- 4 | 7 | 4 | Float | ----------------------------------------------------- 8 | 11 | 4 | Float | ----------------------------------------------------- \ \ \ ----------------------------------------------------- 24 | 27 | 4 | Float | ----------------------------------------------------- The first 4 bytes contain the date ...Show All
Visual Studio I need help with installing SQL Server 2005 Express
Dear MSDN, I'm having a problem with installing SQL Server 2005 Express. In the past, I installed Visual Studio 2005 Beta (with SQL Server 2005 on it) and it runs fine. But I made a mistake uninstalling the beta version. I used the Control Panel and uninstalled the components in random order. When I installed the Express Edition, SQL Server 2005 Express failed to install, but Visual Studio 2005 Express is running fine w/o SQL Server on it. I need to install SQL Server 2005. Please help me how to fix this. Thanks. If you had a beta version - you need to remove it using the removal tool also. In addition, you need to explain the error messages you get. If you uninstall VS2005 Beta, try ru ...Show All
.NET Development Get Ressources of a referenced assembly
I have an simple assembly A that refernces (linked) another assembly B that includes ressources (png files) that I want to use in assembly A. I included the png images into assembly B just via Visual Studio --> add new item --> build action --> embedd as ressource. When I look into assembly B using .NET refelctor I find the ressource directly under the ressources folder: public resource MyNameSpace.MySubNameSpace.FileFolderName.ImageFileName.png how can I acess this file in assembly A. I suppose I have to use the RessourceManager but I fail to find the correct parameters for its contrsuctors. Try Assembly.GetManifestResourceStream(). You can then load the bitmap with the Bitmap(Stream) constructor. ...Show All
Visual Basic The simplest copy n paste destroys code behind link - ridiculous time wasting nonsense
Novice using vb.net 2005, vb.net 2005 express, vb.net 2005 pro This situation is just down right insulting and another ridiculous time wasting feature of the MS IDE. I've placed a split container on my form. Then cut and pasted a group of controls that are already present on the form with linked code behind already working onto one split panel and another group on another split panel. Nothing works. I've now got to step thru my code and manually update the handles on each and every event from the controls I've cut and pasted just to test the look n feel even before deciding to use the split container model. This: Private Sub btnReports_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles btnReports. ...Show All
Visual Studio Team System Postbuild and prebuild scripts
I am using the newly released CTP 5 and have been trying to use the postbuild scripts and prebuild scripts to add certificates as well as permissions for a database. However, when I try to deploy the project I get an error saying that it can't find a procedure when trying to assign the permissions and it looks like the postbuild scripts and prebuild scripts are being combined and run together, both before any of the other database scripts (tables, procedures, functions, etc.) are deployed. My question is there a better way to deploy the permissions for the database other then putting them in the postbuild script or is there a way to fix it so that the postbuild scripts is run only after the main database scripts are run ...Show All
.NET Development AccessViolationException with C# Ping class
I have a "watchdog" program, c# console application, coded with VS 2005. Program runs every 3 minutes. And one part of program checks pings to ~20 ip's. I'll give that function code: static private bool ping ( ref String ip) { bool success = false ; Ping pingSender = new Ping (); if (pingSender.Send(ip).Status.Equals( IPStatus .Success)) { success = true ; } else { success = false ; } return success; } Usually this works.. but sometimes (once a day on the average) it throws an exception and program crashes: Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. I checke ...Show All
Visual Studio Express Editions How do I send data from my application to a database?
I am just learning how to use Visual Studio and I was wondering if someone could help me out with a problem I cannot figure out. I am working on an application, composed of drop-down boxes that are from various tables, and I can not figure out how to send the selected data from the drop-down boxes to a database. I have been playing around with the BindingSource and BindingNavigator which has not gotten me anywhere. If someone could help me out with this problem I would much appreciate it. Anthony I checked my connection string and it is the same as the one on that particular website. However, I keep getting an error message about not being able to access remote connections. Any ideas ...Show All
