Software Development Network Logo
  • Windows Vista
  • IE Development
  • Windows Forms
  • SQL Server
  • Visual Studio
  • SharePoint Products
  • Smart Devicet
  • Visual C++
  • Visual C#
  • Visual FoxPro
  • Audio and Video
  • Microsoft ISV
  • .NET Development
  • Visual Basic
  • Game Technologies

Software Development Network >> jaimlin's Q&A profile

jaimlin

Member List

coconut113651
GraemeH
jdevito
Tryin2Bgood
jmkueter
slimjen1
killerless
billa1972
Michel Lyman
Bob Lyden
soni_ace
JonathanAramburo
Lord Zoltan
Vivek Natani
AlexBB
CollegeSeniorProjectNeedsHelp
TechNeilogy
Dugan Porter - Microsoft
Keeep Out
imin83
Only Title

jaimlin's Q&A profile

  • Visual C++ error LNK2019

    Hi I got error LNK2019 and error LNK 1120 on compiling the following code for sorting integers in accending order: How do i fix it #include<iostream> using namespace std; int max(int,int); int min(int,int); int sortarray(int); int main() { int i,c,temp,newarr ,finalarr ; int arr ={2,3,4,5,6,7}; finalarr =sortarray(arr ); cout<<"the sorted array is "<<endl <<finalarr ; } int sortarray(int newarr ) { int b,c,i,arr ; b=0; for(c=0;c<6;c++){ for(i=1;i<6;i++){ min(arr ,arr ); arr =min(arr ,arr ); newarr =arr ; b++;}} return newarr ; } int max(int a, int b) { if (a>b) return a; return b; } int min(int a, int b) { if (a<b) return a; return b; } nobugz wr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D SLG game walkable path

    i am doing a 2D SLG game in tiled and i was facing a walkable path calculation problem. i have fully implement tiled map, and store the tile height (Movement point required by each tile) in the map. please refer to picture below, where 2, 3 specify the tile' required movement point(MP), where no specify are required 1 MP. blue ball are the player(character) with 3 MP red are moveable tile. http://pic20.picturetrail.com/VOL1598/8087247/15160543/229180417.jpg player have 3 movement points in this sample my problem is how to obtain the walkable tile by giving character position(x, y) and MP thank you very much Do you mean all t ...Show All

  • .NET Development IrDA Connection Event - ManagementObject?

    When Windows connects to an IrDA device then there is an icon in the Windows Statusbar - notification area (bottom right). The Bubble help show "Device is in range". Is there a way to capture this system event from within an application. I want to give an indication from within my application that an IrDA device is in range. I know that ManagementObject, ManagementBaseObject and ManagementEventWatcher are possible classes that could be used to capture system events. But I find these very difficult to understand and I do not know how to set them up to capture the "IrDA Device is in range" event. Any suggestions Thanks! Ahh well… The notification is shown by the irmon ("Infra ...Show All

  • Visual FoxPro How to see the code behind a foxpro report

    Hello I am new using FoxPro. I have in my hands a foxpro application. This application produces reports. I can see the report design, but I dont know where to look to see the code behind the report. Can somebody tell me where can I find the coding behind a report in FoxPro Thank you Erick, Open the project, then from tools/code references search for "report form" (you might need to use regular expressions because "repo form" is as valid as "report form" - first 4chars are sufficient for many commands/functions). If you find one with the filename of you report file then you're just on target, but generally do not expect to find one. ie: In a big application we have only one line starting with &quo ...Show All

  • Visual Studio 2008 (Pre-release) How to : ResourceDictionary' root element requires a x:Class attribute to support event handlers in the XAML file

    Hi, I have create a new WPF control like this : <ContentControl x:Class="SkinWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="279" Width="365" > <ContentControl.Template> <ControlTemplate TargetType="{x:Type ContentControl}"> <StackPanel> <Button Name="button1"/> <Button Name="button2"/> <Button Name="button3"/> </StackPanel> <Grid> <Line MouseDown="OnSizeNorth" Name="lnSizeNorth" .../> </Grid> </ControlTemplate> </C ...Show All

  • Visual Studio Express Editions How do you call CreateProcess?

    Im a big VB Newbie, but how do you use the CreateProcess Command. When I type it it says that "CreateProcess" is not Declared. I dont know how to import Kernel32.dll. Please Please Please Help. The reason you aren't seeing the method is because VB doesn't know where it is, instead you need to specify it through a function signature that effectively means "whenever I ask to call this method... look for it in this library and here’s what it looks like." The best place to find signatures for things like that is on pinvoke.net . Here’s the page for CreateProcess . Instead of Pinvoking though, you might want to take a look at the Process class and it’s Start() method to accomplish similar tasks but within the .NET world ...Show All

  • Windows Forms what should we use for validating users input

    Hi, I think Microsoft gave up MaskedEdBox control in .Net. What should we use in order to validate users input like for users to enter only dates or numbers or...... I meant the Activex MaskedEdBox . My need is to validate that a user enters a postal code format like: H4C 4G3 or a string of only caracters and no numbers Thanks. ...Show All

  • SQL Server Conditional formating in Subtotals?

    I have subtotals in a matrix and I want to format the background color depending on the subtotal value - > 95 = "Green", < 95 > 90 = "Yellow", < 90 = "Red". I go to the Subtotal properties and put the iif expression in the background color, but it's not detecting the Subtotal value. How do I refer to the Subtotal value in a formating expression Yes, I created the subtotals by right-clicking the row cell of the outer-most group and selecting 'subtotals'. The problem with the simple iif... is that it affects all the cells - not just the subtotals. I did find out why my background image wasn't showing in the subtotals, if you set a background color in the Subtotal ...Show All

  • SQL Server sql server 2005 express edition VS visual basic 2005 express edition

    Hello.. I've installed Visual Basic 2005 express edition & tried to connect to SQL Server 2005 express edition. I noticed that VB2005 Express Edition doesn't have any OLEDB provider for SQL Server. The only OLEDB Provider is for M.Access. Is this correct if so, what should i do if i want to connect SQL Server 2005 express edition with VB2005 express edition by using OLEDB connection type I really appreciate any respond from you guys.. Thank's and waiting for the good news.. Best regards, VITRELLE Use the SQL Native Client. Are you using the wizard or creating connection strings manually Check out http://www.connectionstrings.com/ carrier=sqlserver ...Show All

  • Visual C# Exclamation Icon cursor in IDE

    Hi, Anyone know why, when I load my c# project into VS2005, my cursor flashes as a exclamation icon (yellow triangle with black exclamation mark) This is very fast and may (or may not) do it every time. I can't see any obvious warning messages anywhere, everything appears to work. It's a real "did I just see that " thing - it's that fast, but it does happen quite often. Someone, somewhere, coded it to do that. It probably took some time to do. Shame it's not at all apparent why ! Ross, Do you have your cursors mapped in a custom way I don't know of any VS component that will show a colored cursor like the one you describe. Thanks, Anson ...Show All

  • Visual C# Windows Task Scheduler C# 2.0

    I wanted to know if there is a task scheduler in C# (windows application). I need to start an application function at a specific time. Can someone point me in the right direction. Hi, You can use a application behind (use this.Hide()), and use timer to get the time if it reachs the specific time then call the function. To make it nicer you can use notifyIcon to make it hide into the system tray. That could be an idea. Thanks ...Show All

  • Software Development for Windows Vista Registration Error? 8002801C??

    I'm running into a problem when trying to register an exe. On the call to registerTypeLib() I get returned an error 8002801C, I think it implies that I can't access the OLE registry. I tried with both an Admin account and also through a service using LocalSystem. Both returned an error. Thanks for any info. I'm on Vista RC2 on a 64 bit machine. I was trying to register an ocx by hand (e.g. regsvr32) and it was failing with the same error code on Vista. Instead of using the Run window, I finally did it by hand in a console, which I opened as administrator. That probably won't help you out to register by hand, by the steps at this link might work: http://support.softartisans.com/kbview_865.aspx ...Show All

  • SQL Server high Availability cubes: During Cube metadata updates + ProClarity

    Hi, This is a kind of solution design issue. Scenario: We have a web page that displays information from a Oracle data warehouse. We collect the required information in the page and have used AMO to create cubes and other related objects from this information. The source for the cubes in SSAS 2005 would point to Oracle. This is modelled as a web service and used within the web page. Once the Cube gets created in SSAS, we model ProClarity graphs on them. The problem: The users can invoke the AMO web service from the web page, to add a new MeasureGroup to an existing cube. Once this is done the Cube becomes non-browsable. because we are adding a new MeasureGroup and thus modifying the cube metadata. In detail, If the new MeasureG ...Show All

  • SQL Server Union for two sets with where clause

    Hi, I have situation where I'm returning comparing data from two date ranges in a chart in MS Reporting Services. In regular SQL, I simply do a UNION between two select statements. I also have a dummy column returned to distinguish between the two selects. i.e. Select *, 1 As 'DataSet' from tblData Where startDate >= @sdate AND endDate <= @edate UNION ALL Select *, 2 As 'DataSet' from tblData Where startDate >= @sdate2 AND endDate <= @edate2 In MDX, I've only seen a UNION for the columns, but not with the WHERE clause included. Is it possible to have a where clause for each set What's the syntax Thanks a lot! WITH MEMBER Measures.Set1 AS 1 MEMBER Measures.Set2 AS 2 SELECT Uni ...Show All

  • Windows Forms Set 'visible' property to 'false' for all the opened forms

    Hello,   I want to pass over all the opened forms of my application and set the visible property to false, if the form was shown.   How can I do that   Thanks. the Application.OpenForms returns all the open/owned forms by the current form. Try this: foreach(Form currentForm in Application.OpenForms) { if (currentForm.Visible) { currentForm.Visible = false; } } does this help/work for you ...Show All

©2008 Software Development Network