ahmedilyas's Q&A profile
SharePoint Products and Technologies Any News on the new bits ?
As posted in a previous post, there is a new version of Knowledge Network Due out soon. ANyone hear anything else regarding dates for this Also wanted to get that other post bumped down so it wouldn't be showing as prominately ;-) On the face you wont see much of a change than what John showed in the Channel9 video. This will mainily consist of code fixes to the client and server app. I could be wrong on this but this is what I have heard from the team. When they are posted I will post here and also place the info on my blog at http://bobfox.net/spblog FYI im chomping at the "bits" to get these also :) ...Show All
Smart Device Development Standalone Emulator V1.0 - 320 x 240 landscape mode
I read that the Standalone emulator V1.0 ships with the 320 x 240 SP image. But, I didn't find it when I installed it. It just has the SP and SP qvga images. Has anybody installed a 320 x 240 landscape mode SP image on the V 1.0 standalone emulator. Also, has anybody successfully installed a MotoQ image with the V 1.0 standalone emulator. My apologies, I'm new to doing any development work, but I can't get this to load. I'm using the following command: "C:\Program Files\Microsoft Device Emulator\1.0\DeviceEmulator.exe" SP_USA_QVGA_LANDSCAPE.nb0 /memsize 128 / funckey 193 / skin Smartphone_Landscape_QVGA.xml I get the following error -----> Error: Cannot open file "SP_USA_QVGA_LANDSCAPE ...Show All
Visual Studio Tools for Office More on Exception from HRESULT: 0x800A03EC
I've been trying to trace this error down and I've found a curious thing. 1) When I put a breakpoint on the ThisAddin.Designer.vb New method, I find that it appears to be the first line called. No surprise. What is surprising is that I have an exception before that line executes. A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll 2) When I step through all the startup code and into my test code (below) I get the following two additional exceptions on the line Debug.Print(Application.ActiveCell.Name.ToString) A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll A first chance exception of type 'System.Runtime.InteropServices.COMException' ...Show All
Visual Studio Express Editions AutoIncrementing UniqueIdentifier column in SQL databse table giving NoNullAllowedException!
Visual Basic 2005 Express: In my SQL database table, I have a CustomerNbr column. In Database Explorer's table definition it has "UniqueIdentifier" as it's data type, and is set as the PrimaryKey. In the XSD Designer, this field is set as the primary key, AutoIncrement=True. DefaultValue is <DbNull>, but, it won't let me remove this! When I add a record to the DataGridView, it correctly puts a "1" in the CustomerNbr column, but, when I update the record, I get a System.Data.NoNullAllowedException! there are many reasons for it existing. one of our SQL Guru's here did say @@Identity is bad practice and not recommended but rather scope_identity() to be used for the ID ...Show All
SQL Server msmqtask.dll
I tried to install the ENT edition of 2005, the release version. I continue to get an error stating the the install was unable to build the type lib for Microsoft.SqlServer.MsmqTask.dll. I tried multiple uninstalls scenaios, including cleaning the registry, cleaning the file system, using the cleanup tool from the CTP, and I uninstalled MSMQ. I can not seem to find my way out of this bag. The net result is that I can not import an existing Database. At least that's the first problem I found. LT And what if you get this error and the Microsoft.SqlServer.MSMQTask is not there I clicked on ignore eventually, but this should not be ok. ...Show All
Internet Explorer Development where to get exact IE version "6.0.2900.2180.xpsp.051.011_1528"
My client is facing problem in using our IE based system having considerably large size. The system works well on various machines and different IE versions and offcourse have gone through enough testing and validation. The machine used by client is branded HP machine having win XP sp2 OS provided by hp. The version of the IE that is running on that machine is "6.0.2900.2180.xpsp.051.011_1528". Now our development machines are branded Dell machines having the same OS but different IE versions. Now in the first step I want to test my system on the same IE version. So is there any way that I get the same IE version on my machine please help me out. Ali..... ...Show All
.NET Development Help with regular expresion
Hi my problem is with the class Regex, i have this re : Regex s0= new Regex("Fracci ( [ ^ ( \ r \ n ) ] + ) /tr"); MatchCollection mcl6 = s0.Matches(strHTML); with ( [ ^ ( \ r \ n ) ] + ) i got all the characters, except the enter character but when appears a " ( " or " ) " character on the text im parsing it throw me an exception, can somebody help me please im trying to get into the follow text: Fraccin:</font><font size="2" color="#003893" face="Tahoma"> </font></td><td width="181"><font size="2" color="#ff8100" face="Tahoma">01051201</font>&l ...Show All
Windows Forms Forms size
How do I control the size of all of my forms I would like to set them so they are all the same size. How do I acomplish this thank you you can programmatically set the size of the form by modifying the width/height property or the Size property: this.Size = new Size( width, height ); but you may have to also make sure that the controls on the form scale/adjust themselves accordingly, to do this I am unsure but know there are a few amount of topics about this on these forums, so do a search and see what comes up :-) You could also just not allow the user to resize the Form if you like To do this, set the formborderstyle to FixedSingle Does this help ...Show All
SQL Server Query Response time check
Is there a global variable or something of the sort that would tell me how long it took to execute a query I need to monitor my DB response times and we have a query that runs in under 2 seconds. So we want to run this query every couple of minutes and if it takes more than 12 sec to run, we want to send an email to our DB staff... I know that I could take a time stamp before and after then subtract but I wanted to know if there was an easier way to do it.. Thanks. From an alerting aspect that is your best option. You can run profiler, but you will then need a process to get the data and send the alert. declare @start datetime exec .... if datediff(ms,@start,getdate()) > 2000 RAI ...Show All
.NET Development RC1 WSDL Generation - Nullable Types?
Just a quick thing I've picked up with RC1 of VS2005. I'm exposing a class through a web service that contains nullable ints and nullable a DateTime. When the I examine the auto-generated WSDL the nullable types have the "nillable" attribute set to true (good), but they have minoccurs set to 1 (bad). Minoccurs should be 0... It's causing a few problems and forcing me to create custom WSDLs, but I really shouldn't have to. Please let me know if this is a known issue, or if there's a reason this is the case Thanks ross When generating schema for a type we always generate minOccurs=0 for reference types and minOccurs=1 for value types. Nullable<int> is a value type, so you get minOccurs=1.&n ...Show All
Windows Forms Icon that is 16x16 & 32x32
Hi, i am working with a program, and every time I choose my own ico file, it gives me a error that says "Please select a .ico file with 16x16 _32x32 pixels and 256 color." http://img167.imageshack.us/img167/1972/errorem0.png How can I make one of these icons Assuming this is actually a Windows Forms programming question: Visual Studio has a fairly capable icon editor. Project + Add New Item, select Icon File. Image + New Image type, select 16x16, 256 colors and again for 32x32, 256 colors. ...Show All
Visual Studio Team System How to move project data?
I have a basic question (sorry, I'm a beginner in this area): we installed TFS and SQL on the C: partition of our server. However we have a second partition (say E:) where we store all the development data (C: is used only for program/system files), and we wish to have the TFS data also there. How do I change the location where the TFS data is stored BTW, does TFS store everything in SQL or also writes something on the file system We don't have any production project so if the move will loose data is not important at this stage. TIA Francesco The TFS data you'll want to move is in SQL Server. Thankfully, SQL Server has a great facility for this - the ability to "detach" and then "re-attach ...Show All
SQL Server SQL 2005, SSL - certificate request, ports
I would like to use SSL on SQL Server 2005. With SSL, is all traffic from the client to the database on port 443 Or are other ports needed With Windows Certificate Management Snap-in, a request for a certificate assumes that there is a local Certificate Authority. I don't have one and it is my understanding that I should buy a third party certificate to avoid a man in the middle attack. With IIS there is a certificate request process. Is there something similar I should use with SQL Thank you. Probably the best way to help you on configuring and understanding the ports (and other configuration settings) for SQL Server would be to refer you to the SQL Server Configuration Manager tool ( ...Show All
Visual Studio MSDN Library Install
During VS 2005 setup, MSDN library install the first disk, shows "finished", then doesn't ask for other 2 cd's. What am I doing wrong Todd Perhaps nothing depending on the selections you made during the install. If I recall correctly, one install mode leaves most data on the DVDs and only installs the indexes etc on to your hard disk. This saves space of course but leads to you having to insert disk 1 or disk 2 or disk 3 to get the actual content you want to read. If you installed in that fashion then it would not be surprising that you only used disk 1. If that's what you intended then you didn;t do anything wrong. If you've got disk to spare and wanted all the content on you ...Show All
.NET Development appending XmlDocument from XmlTextReader data...
hello all I hope you can help me out here. I have an xmlDocument xDoc with content in it already. I also have an xml file that I want to append to it. here is the function [code] private void addFooter(ref XmlDocument xDoc) { // Get the footer xml document and add it to the // current xDoc (Session["XMLParts"]) string langDelimiter = Session["CurrentLanguage"].ToString().ToLower(); string filename = Server.MapPath("Reports/FooterText_" + langDelimiter + ".xml"); XmlTextReader reader = new XmlTextReader(filename); reader.MoveToContent(); //Move to the cd element node. //Create a node representing the footerText element node. XmlNode footerText = xDoc.ReadNode(reader); //Insert the new n ...Show All
