Fayez Mutairi's Q&A profile
SQL Server Error 193 installing
When installing SQL Server 2005 the first component to be installed by the setup it is it (.NET Framework 2.0), but it happens the following mistake " Error 193 installing .NET Framework 2.0 "... what is doing wrong and which would be solution You can try to install .NET 2.0 from windows update or download it separatly and try to install it manually. http://www.microsoft.com/downloads/details.aspx familyid=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en If it still fails try to include all error messages as it might give a better idea what is going on. Have you had any Visual Studio 2005/.NET 2.0 beta versions installed ...Show All
Visual Basic What's the difference
Ok folks, so I've got a program that runs code that has a FOTRAN dll that (thank god) I finally have working, for the most part. At least it does when I pass it the path/name of a file that I've created using notepad. Buuuut, that's not gonna cut it when it comes down to it. What I've done is created a GUI that creates an input file for FORTRAN and all it does is write a line of text for each input in FORTRAN. But when this VB written file,written using streamwriter or FileSystem.AppendText (I wondered if there might be a problem with the streamwriter making hidden characters but no), is passed to my FORTRAN dll and the methods native to the FORTRAN code attempt to consume the data, I run into an interesting problem ...Show All
Windows Forms Unable to get the window handle for the 'WebBrowser' control. Windowless ActiveX controls are not supported
Hi! I'm trying to load asynchronously a web page in a embedded webbrowser, but i get this Exception: "Unable to get the window handle for the 'WebBrowser' control. Windowless ActiveX controls are not supported" My code: public partial class Buscador : Form { private delegate void InicializarWeb_( string url); InicializarWeb_ IW; public Buscador() { InitializeComponent(); IW = new InicializarWeb_(InicializarWeb); } private void InicializarWeb( string url) { webBrowser1.Navigate(url); } private void FinInicializacionWeb(IAsyncResult IA) { try { IW.EndInvoke(IA); } catch (Exception Ex) { MessageBox.Show(Ex.Me ...Show All
Smart Device Development Installation of Compact Framework 2.0 failed. Why?
Hi all, can somebody tell me why my installtion of the cf 2.0 on an HP 2490 PDA failed Log file of installation: 26/02/2006 23:14:42: Entered Install_Init(). First Call: Yes Previously Installed: No Installation folder is: '\Programme\.NET CF 2.0'. 26/02/2006 23:14:42: Build 2.0.5238.00 26/02/2006 23:14:42: Device CPU: 'ARMV4I', 05020000 (84017152) 26/02/2006 23:14:42: PocketPC 5.01 26/02/2006 23:14:42: Our trust level is: 2 26/02/2006 23:14:42: User LCID: 1031 26/02/2006 23:14:42: System LCID: 1031 26/02/2006 23:14:42: Invoker's command line: '0x822bd84e-0' 26/02/2006 23:14:42: Memory status, K -------------------------- 26/02/2006 23:14:42: Load : 58 26/02/2006 23:14:42: Physical : 5794 ...Show All
.NET Development How do I grab the return value from my stored procedure in 2.0?
I can't figure out how to grab my return value from the my stored procedure. Obviously, I don't want to set the default value of the return value to zero, but find out if the return value is zero to know that it completed successfully.Below is my code: SqlDataSource1.ConnectionString = constring 'Info from array to be sent to the stored procedure Me .SqlDataSource1.UpdateParameters( "ClientUno" ).DefaultValue = ClientUno Me .SqlDataSource1.UpdateParameters( "MatterUno" ).DefaultValue = MatterUno Me .SqlDataSource1.UpdateParameters( "AuthUno" ).DefaultValue = AuthUno Me .SqlDataSource1.UpdateParameters( "BillFormatTime" ).DefaultValue = WordValues(0) Me .SqlDataSource1. ...Show All
Windows Forms Q: Working with Bitmaps
Hello everybody. Straight to the point. Let's say I have a bitmap 400x300 pixels. What I want to do with this bitmap is somehow to "slice" it in small regions and access each small regioin as a bitmap... Lets say I want to have 20 regions along the width... => by the ration bmp.width/bmp.height = region.width/region.height I can calculate the width and height of each small region i tried using the following loop for(int yAxis = 0 ; yAxis < bmp.Height ; yAxis += region.Height) { for(int xAxis = 0 ; xAxis < bmp.Width ; xAxis += region.Width) { //access each region as a bitmap } } So, can you guys help me achieve this.... Any help would be greatly appreciated....Thank you respecta chire You can b ...Show All
SQL Server Apply insert duplicated key record
Hi~ When insert, just insert if it is a new item or update it if duplicated. The update operation should be summing or averaging. Anyone help Thank you for your help. Here is more specific case. --------------------------------- CREATE TABLE mytable ( id1 int, id2 int, value1 int, PRIMARY KEY(id1,id2) ); CREATE TRIGGER mytrigger ON mytable INSTEAD OF INSERT AS BEGIN IF EXISTS(SELECT * FROM INSERTED I,mytable M WHERE I.id1=M.id1 AND I.id2=M.id2) UPDATE mytable SET value1 = value1 + 100 ELSE INSERT INTO mytable SELECT id1,id2,value1 FROM INSERTED END BULK INSERT mytable FROM 'mydatafile_1.dat' WITH (FIRE_TRIGGERS);(1) BULK INSERT mytable FROM 'mydatafile_2.dat' WITH (FIRE_TRIGGERS);(2) BULK INSERT mytable FROM 'mydat ...Show All
Smart Device Development Using Device Emulator to support non-local WinMobile users
Greetings, I'd like to use the DE to support multiple WM devices, all apart from my physical location. Ideally, I'd like each emulator image to run the same ROM image as the deployed device and have the same appearance. From the emulator's help file, it seems I can extract a run-time image from a connected physical device, so it looks like I can handle the first desired item. I've looked high and low for emulator skins without luck. Barry Bond's August 06 link http://msdn.microsoft.com/mobility/downloads/Emulator/default.aspx,%20lists is not found any longer. Lastly, I have downloaded, via Verizon & UT Starcom, the AKU 2.2 update for its XV-6700. The ROMS are in .nbf. Any development tools to make them usable with the emula ...Show All
Microsoft ISV Community Center Forums Scripting
HI, Do anyone has a script than checkes if a certain service is running,and If not it restart the service Cheers These forums are for topic discussion for developers relating to Windows Forms Application development using the .NET Framework. Please redirect your issue to a forum that better suits your problem. Thank you and good luck. ...Show All
Windows Networking Development Using Wi-Fi Multimedia (WMM) on Windows Mobile 5.0 device
This post is about Windows Mobile 5.0 and WMM. I've posted it as well at MSDN Forums Smart Device Development Smart Devices General . Hi, Since AKU 3.0 Windows Mobile supports WMM. Does anyone know how to use it Does it have managed API (QOS2) How to categorize packets Is it possible to change category priorities, for example, can i order to cut down on Video dynamically for a minute, and than set categories as it was before There are some information about QOS2 on Windows Core Networking blog, but I cannot find anything more connected with Windows Mobile and CE 4.2. I prefere managed solutions :) Unfortunately, this is not the right forum for this question. This forum is for network QoS related questio ...Show All
SQL Server Parameter DropDown Issue in RS2000
Hi, Is there any way to change (in my case increase) the width of a query based parameter DropDown I want to do this in RS2000. Thank's ...Show All
Microsoft ISV Community Center Forums How do I create and use 3D ranges in Excel-VBA
It is easy to create and use 2D range in excel. The following code will do Option Explicit Sub Demo3DRange() Dim sh As Worksheet, r As Range, vData Dim Row As Integer, COl As Integer Set sh = ThisWorkbook.Sheets("Sheet1") Set r = sh.Range(sh.Cells(1, 1), sh.Cells(100, 2)) vData = r.Cells.Value For Row = 1 To 100 For COl = 1 To 2 Debug.Print vData(Row, COl) Next COl Next Row End Sub When we execute the above code, the variant vData will become a 2D array of 100*2. Now my question is following: A)How do I create a 3D range in VBA code B)Can I assign that 3D range to a variant, and get a 3D array, just as I get 2D array in case of 2D range Thanks -Rahul ...Show All
Visual Studio Team System Functional Testing
Hi, I am new user to Microsoft TFS as test Engineer. I want to ask that Up to what extant we can cover functional testing through Microsoft Team Foundation Server What are the limitations to conduct functional testing through Microsoft Team Foundation Server What are the differences between Specialized Testing tools like QTP/Win runner/Load runner and Microsoft Team Foundation Server Regards,Mahboob Hassan Hi Mahboob, Team Foundation Server (TFS) is a server that supports software testing in various ways. For example, it lets you track bugs that you create from test results and it lets you publish test results and generate report on those results. The actual testing of sof ...Show All
SQL Server Like statement in a filter
In a report I want a parametered filter on a specific text. I tried with the following statement: =Iif(Parameters!Filter.Value="Example",(Fields!Warehouse_Class_Code.Value),"NULL") like %TEXT% But no result. Please help! I have a table with several values: HARPAL06 CITPBK01 HARPBK08 HARPAL02 ONPAL07 I want a parameter with a filter on the records with the text "PAL" I tried =Iif(Parameters!Filter.Value="Example",(Fields!Warehouse_Class_Code.Value),"NULL") like %PAL% But this doesn't work. ...Show All
.NET Development One-Way IM
Hey I was wondering how I would go about making a program that would send text or numbers to my computer from another computer. This is basically like an IM program, but one way. Any help well, it would be even easier to copy the file to a shared folder on the destination pc simply use System.IO.File.Copy(source, destination) ...Show All
