CrispinH's Q&A profile
Smart Device Development some mobiles cant connect to my object push server
Hi, i am new to bluetooth programming. I just did a project that make use of opennetcf library, bluetooth listener acting as a obex object push server on pc. I was able to transfer files from Sony Ericsson K700, but later on not able to transfer file form Nokia 6230, it shows not devices found. I tried some other hand phone, it seems that some can but some cannot. I am not sure what's the problem, is there something regarding authentication. If I am using fsquirt.exe then there is no problem. I urgently need solution. Anyone, please help me. Thanks. This forum is smart device development related. Since your questi ...Show All
SQL Server Rendering Report
I have created a page in Reporting Services with one row of data, but when the data is increased to 5 rows my pages doesnt render that...Any suggestions You need to use a dataregion (List, Table or Matrix) to display the data. Try adding a table with detail rows, each row from your dataset would show up as a detail row in the table. ...Show All
Windows Forms Binding a MonthCalendar Control to a DataTable of 'selected' dates
I need to bind a MonthCalendar control to a DataTable which contains dates that represent 'OffDays' i.e. no work. I am hoping to do something like, a user can select (or un-selected) a date in the calendar and that will add or remove records from the DataTable. I notice that there are methods of the MonthCalendar control to Add or Remove bolded dates and that seems like it would work, except I can't DataBind that. Bolded Dates aren't a requirement, just something to visually distinguish the 'OffDays'. I don't develop WinForms much and I don't know much about the MonthCalendar. If anyone has ideas to simple databind here, it'd be GRE ...Show All
Visual C++ C++ Error:Common Language Runtime Not Loaded
Hi anonymous! I have just installed C++ Beta Express 2005. All instructions for installation were followed, I removed all previous versions of .NET betas, SQL server, etc before installing this new beta product. Have you done the correct order of uninstall See: Uninstalling Previous Versions of Visual Studio 2005 http://lab.msdn.microsoft.com/vs2005/uninstall/ You also can use the unofficial removal tool: http://blogs.msdn.com/astebner/archive/2005/04/19/409555.aspx (but it seems that the site is currently not available) -- Greetings Jochen My blog about Win32 and .NET ...Show All
Visual Basic books..?
Good morning, can anyone recomend any good books for vb, i have never done any programing before, went through the online training offered, but now would like to work through a book or 2, thx I would also suggest http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764571982.html since we are on the subject of Wrox books. The first book suggested to you says that some programming is perfered but it is not required. This book is about the same as far as that goes but it's easy enough to read through and is a awesome reference ...Show All
.NET Development 1 COM interop event OK, more than 1 event NOT OK in C#
The same problem as the following Ducky's =========================================================== Hi everyone, I'm writing a C#.net app that is controlling an automation server. Added a reference to the COM server(built with Borland Delphi). Have the interop wrapper classes generated. Have the following code to instantiate the COM server and to attach to the event: ....... obj = new ABCClass(); obj.OnUserClosed += new ABCClassEvents_OnUserClosedEventHandler(this.ABCUserClosed); ..... Everything compiles and runs OK. I'm able to execute methods and access properties of the COM object. The event handler got called c ...Show All
SQL Server Help in Understing Logic for Generating Row Numbers?
Hello, I found this query below that creates a Row Number column. Can someone help me to explain what the logic behind it is Thanks for help! -------------------------------------------------------------------------------------------------------------------------------------------------- SELECT orderid , custid , orderdate , ( SELECT COUNT (*) FROM dbo . Orders AS O2 WHERE O2 . orderid <= O1 . orderid ) AS rownum FROM dbo . Orders AS O1 ORDER BY orderid ; ----------------------------------------------------------------------------------------------------------------------------- ...Show All
Windows Forms DataGridView GetFirstRow() problems
Hi all I'm using the GetFirstRow(DataGridViewElementStates::Displayed) function to work out which the first row displayed on the list at the current time. There are two problems with this though. First is that the docs say that it is meant to be for internal use of the framework rather than being used by plebs like myself. The second problem is that if the DataGridView isn't actually visible, the function returns -1. Not surprising I guess since none of the rows are actually visible. But I still need to do things to this first row even if its not currently visible. Does anyone know a better way to get this first displayed row ...Show All
.NET Development Convert an int in string(hexaformat)
In Visual C# I whish convert an int to a string in hexa format I mean: int test = 454 how convert this int to string showing : 01C6 ( in a textBox for example) -------------------- like in C char str[10]; int test = 454; sprintf(str,"%04X",test); Text1.Text = string.Format("{0:X}",454); Happy programming ...Show All
Visual C++ Question about C++ char Pointer
When I use VC++ 6.0(with SP5.0) like this: char temp[2]; memset(temp,0,sizeof(temp)); strcpy(temp,"This is a test\0"); MessageBox(0,temp,temp,MB_OK); The result in temp[2] is "This is a test".There is only two bytes of memory,why can copy more than 2 bytes char I can see a demand for a reverse-engineered (or semi-so) Secure CRT for people to write portable code. ...Show All
SQL Server [rsDuplicateScopeName] More than one data set, data region, or grouping in the report has the name ‘CustomerName’. Data set, da
I have one rdl with about 7 rectangle regions, each rectangle I dragged a table inside. When I try to render myreport I get [rsDuplicateScopeName] More than one data set, data region, or grouping in the report has the name ‘CustomerName’. Data set, data region, and grouping names must be unique within a report. Furthermore, I don't see anything in the Rectangle's "Data Region" dropdown to associate my tables to it. Also, once I do successfully assign a rectangle to a Data Region (a table) successfully, I assume i can then reference fields from other DataRegions / Rectangles in other tables such as doing a summary table at the en ...Show All
Software Development for Windows Vista Passing parameters into the workflow.
Hi, I'm very new to workflow, and need help... I created a workflow library that has a custom workflow action developed. Then I used a winapp to test the workflow, in preparation to deploy the custom action into office 12. Basically the workflow action will try to escalate anything to a person's manager using information stored in active directory, so that users in office 12 do not need to specify the manager. The problem is, I don't know how to pass parameters into the workflow. I have the workflow book, but I can't really make sense to what is written the codes are in snippets. You can not access ...Show All
Visual C++ What will cause AfxGetModuleState() return different values during DLL initialization?
My application has over 100 Dlls. During startup, many resources failed to be found. I finally find out this is because AfxGetModuleState() returns different values in the CDynLinkLibrary's constructor, but I get no idea how can this happen. Anybody can help Thanks. Could it be a failure to use AFX_MANAGE_STATE(AfxGetStaticModuleState( )); on your DLL entry points This macro informs MFC that a DLL boundary has been crossed and needs to switch contextual information. Brian ...Show All
Visual C++ mfc70.dll not found :(
Gday when I used one of my programs it said I need MFC70.dll cause it was missing so I need a download link to download it. Thanks mfc70.dll is part of VS7.0. How did you build this application If you built it with VS7.0 then you will need the dll in the same location as you are running it. If somebody else built it then you need to contact the owner of the application. Thanks, Ayman Shoukry VC++ Team ...Show All
Smart Device Development some thing can't understand in emulator
Dear All, When working with emulator for pock pc 2005 in vs8 beta 2. I always met this error like below: I use some project in C,in C++ together. I compile,it is good.No error. But when i emulate in pocket pc 2003 emulator in mode Debug. There are some code he do nothing. Example: char* test(void* a,int b); when i declare char* t; int c = 4; then i call the fonction test(t,c); It die. Don't understand. JT Hi Julian, Does this program run a physical device My initial guess would be an "alignment fault". On ARM memory reads/writes have to be aligned to match the data size so 1 byte - no alignment, 2 bytes - memory ad ...Show All
